diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-13 11:40:33 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-13 09:54:04 +0000 |
commit | 8c6b349805e2f17a57576b8dfad31e5681d6b0e9 (patch) | |
tree | e656e0862cd2de77b71bed884f5ffa0143073fe3 /lib/rubygems.rb | |
parent | dddc542e9b61b292d80a96d0d0efbbf58719e3be (diff) | |
download | ruby-8c6b349805e2f17a57576b8dfad31e5681d6b0e9.tar.gz |
[rubygems/rubygems] Removed `Gem.datadir`.
https://github.com/rubygems/rubygems/pull/2216 is imcomplete to remove this method.
https://github.com/rubygems/rubygems/commit/34ef915d12
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r-- | lib/rubygems.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 6631cd8481..82789c49d1 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -338,16 +338,6 @@ module Gem end ## - # The path to the data directory specified by the gem name. If the - # package is not available as a gem, return nil. - - def self.datadir(gem_name) - spec = @loaded_specs[gem_name] - return nil if spec.nil? - spec.datadir - end - - ## # A Zlib::Deflate.deflate wrapper def self.deflate(data) |