method
find_active_stub_by_path
v2_4_6 -
Show latest stable
- Class:
Gem::Specification
find_active_stub_by_path(path)public
No documentation available.
# File lib/rubygems/specification.rb, line 1055
def self.find_active_stub_by_path path
stub = @@active_stub_with_requirable_file[path] ||= (stubs.find { |s|
s.activated? and s.contains_requirable_file? path
} || NOT_FOUND)
stub.this
end