Class: Break::IRB::Commands

Inherits:
Module
  • Object
show all
Defined in:
lib/break/irb/commands.rb

Instance Method Summary collapse

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