Class: Break::IRB::Commands
- Inherits:
-
Module
- Object
- Module
- Break::IRB::Commands
- Defined in:
- lib/break/irb/commands.rb
Instance Method Summary collapse
-
#initialize(session) ⇒ Commands
constructor
A new instance of Commands.
Constructor Details
#initialize(session) ⇒ Commands
Returns a new instance of Commands.
7 8 9 10 11 12 13 |
# File 'lib/break/irb/commands.rb', line 7 def initialize(session) define_command session, :next, Break::NextCommand define_command session, :step, Break::StepCommand define_command session, :up, Break::UpCommand define_command session, :down, Break::DownCommand define_command session, :whereami, Break::WhereCommand end |