Class: RubyJard::Commands::DownCommand
- Inherits:
-
Pry::ClassCommand
- Object
- Pry::ClassCommand
- RubyJard::Commands::DownCommand
- Includes:
- ValidationHelpers
- Defined in:
- lib/ruby_jard/commands/down_command.rb
Overview
Command used to explore stacktrace.
Instance Method Summary collapse
Methods included from ValidationHelpers
#validate_non_negative_integer!, #validate_positive_integer!, #validate_present!, #validate_range!
Instance Method Details
#process ⇒ Object
24 25 26 27 |
# File 'lib/ruby_jard/commands/down_command.rb', line 24 def process times = validate_positive_integer!(args.first || 1) RubyJard::ControlFlow.dispatch(:down, times: times.to_i) end |