instance method
Gem::Commands::OpenCommand#spec_for
spec_for(name)
lib/rubygems/commands/open_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/open_command.rb, line 76
def spec_for(name)
spec = Gem::Specification.find_all_by_name(name, @version).first
return spec if spec
say "Unable to find gem '#{name}'"
end
No documentation available