Class: RubyJard::Commands::NextCommand
- Inherits:
-
Pry::ClassCommand
- Object
- Pry::ClassCommand
- RubyJard::Commands::NextCommand
- Includes:
- ValidationHelpers
- Defined in:
- lib/ruby_jard/commands/next_command.rb
Overview
Command used to continue program execution to the next line.
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 28 |
# File 'lib/ruby_jard/commands/next_command.rb', line 24 def process times = validate_positive_integer!(args.first || 1) RubyJard::ControlFlow.dispatch(:next, times: times.to_i) end |