Class IRB::Context
In: cli/ruby-debug/commands/irb.rb
Parent: Object

Monkeypatch to save the current IRB statement to be run and make the instruction sequence "filename" unique. Possibly not needed.

Methods

evaluate  

Public Instance methods

[Source]

     # File cli/ruby-debug/commands/irb.rb, line 96
 96:   def evaluate(line, line_no)
 97:     $rdebug_irb_statements = line
 98:     @line_no = line_no
 99:     set_last_value(@workspace.evaluate(self, line, irb_path, line_no))
100: #    @workspace.evaluate("_ = IRB.conf[:MAIN_CONTEXT]._")
101: #    @_ = @workspace.evaluate(line, irb_path, line_no)
102:   end

[Validate]