module DEBUGGER__::IrbPatch - debug: Ruby Standard Library Documentation

# module DEBUGGER__::IrbPatch

### Public Instance Methods

evaluate(line, line_no) click to toggle source
Calls superclass method

    # File debug-1.10.0/lib/debug/irb_integration.rb, line 7
    def evaluate(line, line_no)
      SESSION.send(:restart_all_threads)
      super
      # This is to communicate with the test framework so it can feed the next input
      puts "INTERNAL_INFO: {}" if ENV['RUBY_DEBUG_TEST_UI'] == 'terminal'
    ensure
      SESSION.send(:stop_all_threads)
    end