Preview Ruby 4.1 is a preview. It can change before the final release. 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-4.1.0-preview1/lib/rubygems/specification.rb, line 971
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.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0