[rubygems/rubygems] Add missing docs
Other analog methods are documented, so document this one too. https://github.com/rubygems/rubygems/commit/76da34d44d
This commit is contained in:
parent
91e3871970
commit
5628cc1229
@ -1044,6 +1044,10 @@ class Gem::Specification < Gem::BasicSpecification
|
|||||||
stub&.to_spec
|
stub&.to_spec
|
||||||
end
|
end
|
||||||
|
|
||||||
|
##
|
||||||
|
# Return the best specification that contains the file matching +path+, among
|
||||||
|
# those already activated.
|
||||||
|
|
||||||
def self.find_active_stub_by_path(path)
|
def self.find_active_stub_by_path(path)
|
||||||
stub = @@active_stub_with_requirable_file[path] ||= stubs.find do |s|
|
stub = @@active_stub_with_requirable_file[path] ||= stubs.find do |s|
|
||||||
s.activated? && s.contains_requirable_file?(path)
|
s.activated? && s.contains_requirable_file?(path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user