Module: IRB::InputCompletor

Defined in:
lib/active_record/support/breakpoint.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.eval(code, context, *more) ⇒ Object



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

def self.eval(code, context, *more)
  # Big hack, this assumes that InputCompletor

  # will only call eval() when it wants code

  # to be executed in the IRB context.

  IRB.conf[:MAIN_CONTEXT].workspace.evaluate(:no_proxy, code, *more)
end