Method: Pry#run_command
- Defined in:
- lib/pry/pry_instance.rb
#run_command(val) ⇒ Pry::Command::VOID_VALUE
Run the specified command.
373 374 375 376 377 378 379 380 381 382 |
# File 'lib/pry/pry_instance.rb', line 373 def run_command(val) commands.process_line( val, eval_string: @eval_string, target: current_binding, pry_instance: self, output: output ) Pry::Command::VOID_VALUE end |