instance method
Gem::Commands::OpenCommand#open_gem
open_gem(name)
lib/rubygems/commands/open_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/open_command.rb, line 59
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
No documentation available