Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Specification.find_all_by_full_name
find_all_by_full_name(full_name)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/specification.rb, line 1014
def self.find_all_by_full_name(full_name)
stubs.select {|s| s.full_name == full_name }.map(&:to_spec)
end
Returns every spec that has the given full_name
See also
.find_active_stub_by_path
.find_all_by_name
.each
.find_by_full_name
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0