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-4.0.0/lib/rubygems/specification.rb, line 974
def self.find_active_stub_by_path(path)
specification_record.find_active_stub_by_path(path)
end
Return the best specification that contains the file matching path, among those already activated.
See also
.each
.find_all_by_full_name
.dirs=
.find_all_by_name
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0