instance method
using_system_editor
Ruby on Rails 8.1.2
Since v7.1.6 PrivateSignature
using_system_editor()
No documentation comment.
Source
# File railties/lib/rails/command/helpers/editor.rb, line 32
def using_system_editor
display_hint_if_system_editor_not_specified || yield
rescue Interrupt
say "Aborted changing file: nothing saved."
end
Defined in railties/lib/rails/command/helpers/editor.rb line 32
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Command::Helpers::Editor