method
get_env_editor
v2_2_9 -
Show latest stable
- Class:
Gem::Commands::OpenCommand
get_env_editor()public
No documentation available.
# File lib/rubygems/commands/open_command.rb, line 40
def get_env_editor
ENV['GEM_EDITOR'] ||
ENV['VISUAL'] ||
ENV['EDITOR'] ||
'vi'
end