method

catch_editing_exceptions

catch_editing_exceptions()
private

No documentation available.

# File railties/lib/rails/command/helpers/editor.rb, line 25
          def catch_editing_exceptions
            yield
          rescue Interrupt
            say "Aborted changing file: nothing saved."
          rescue ActiveSupport::EncryptedFile::MissingKeyError => error
            say error.message
          end