Class: IRB::Context

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#evaluate(line, line_no) ⇒ Object



467
468
469
470
471
472
473
# File 'lib/active_support/breakpoint.rb', line 467

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

#old_evaluateObject



466
# File 'lib/active_support/breakpoint.rb', line 466

alias :old_evaluate :evaluate