Class: IRB::Context

Inherits:
Object show all
Defined in:
lib/breakpoint.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#evaluate(line, line_no) ⇒ Object



497
498
499
500
501
502
503
# File 'lib/breakpoint.rb', line 497

def evaluate(line, line_no)
  if line.chomp == "exit" then
    exit
  else
    old_evaluate(line, line_no)
  end
end

#old_evaluateObject



496
# File 'lib/breakpoint.rb', line 496

alias :old_evaluate :evaluate