Method: Gem::Commands::OpenCommand#open_editor

Defined in:
lib/rubygems/commands/open_command.rb

#open_editor(path) ⇒ Object



72
73
74
# File 'lib/rubygems/commands/open_command.rb', line 72

def open_editor(path)
  system(*@editor.split(/\s+/) + [path], { chdir: path })
end