End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Specification.find_active_stub_by_path
find_active_stub_by_path(path)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/specification.rb, line 1019
def self.find_active_stub_by_path(path)
stub = @@active_stub_with_requirable_file[path] ||= (stubs.find do |s|
s.activated? and s.contains_requirable_file? path
end || NOT_FOUND)
stub.this
end
No documentation available
See also
.each
.find_all_by_full_name
.dirs=
.find_all_by_name
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1