method
open_gem
v2_6_3 -
Show latest stable
- Class:
Gem::Commands::OpenCommand
open_gem(name)public
No documentation available.
# File lib/rubygems/commands/open_command.rb, line 61
def open_gem(name)
spec = spec_for name
return false unless spec
if spec.default_gem?
say "'#{name}' is a default gem and can't be opened."
return false
end
open_editor(spec.full_gem_path)
end