method
editor
v8.1.1 -
Show latest stable
- Class:
Rails::Command::Helpers::Editor
editor()private
No documentation available.
# File railties/lib/rails/command/helpers/editor.rb, line 11
def editor
ENV["VISUAL"].to_s.empty? ? ENV["EDITOR"] : ENV["VISUAL"]
end