Method: Pry::Config#editor

Defined in:
lib/pry/config.rb

#editorString, #call

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

If it is a String, then that String is used as the shell command to invoke the editor.

If it responds to #call is callable then file, line, and reloading are passed to it. reloading indicates whether Pry will be reloading code after the shell command returns. All parameters are optional.

Returns:

  • (String, #call)


51
# File 'lib/pry/config.rb', line 51

attribute :editor