Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Commands::OpenCommand#execute
execute
lib/rubygems/commands/open_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/commands/open_command.rb, line 50
def execute
@version = options[:version] || Gem::Requirement.default
@editor = options[:editor] || get_env_editor
found = open_gem(get_one_gem_name)
terminate_interaction 1 unless found
end
No documentation available