Method: Pry::Command::ShellMode#process
- Defined in:
- lib/pry/commands/shell_mode.rb
#process ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/pry/commands/shell_mode.rb', line 15 def process state.disabled ^= true if state.disabled state.prev_prompt = pry_instance.prompt pry_instance.prompt = Pry::Prompt[:shell] else pry_instance.prompt = state.prev_prompt end end |