mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[rubygems/rubygems] Deprecate Gem::Specification#datadir and will remove it at RG 4.1
e99cdab171
This commit is contained in:
parent
51f88f9922
commit
052b38a5d9
3 changed files with 3 additions and 36 deletions
|
@ -199,6 +199,9 @@ class Gem::BasicSpecification
|
|||
File.expand_path(File.join(gems_dir, full_name, "data", name))
|
||||
end
|
||||
|
||||
extend Gem::Deprecate
|
||||
rubygems_deprecate :datadir, :none, "4.1"
|
||||
|
||||
##
|
||||
# Full path of the target library file.
|
||||
# If the file is not in this gem, return nil.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue