Module: IRB::InputCompletor
- Defined in:
- lib/action_controller/support/breakpoint.rb
Class Method Summary collapse
Class Method Details
.eval(code, context, *more) ⇒ Object
490 491 492 493 494 495 |
# File 'lib/action_controller/support/breakpoint.rb', line 490 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 |