method
spec_for
v2_6_3 -
Show latest stable
- Class:
Gem::Commands::OpenCommand
spec_for(name)public
No documentation available.
# File lib/rubygems/commands/open_command.rb, line 80
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