Class: IRB::WorkSpace

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#evaluate(*args) ⇒ Object



503
504
505
506
507
508
509
510
511
512
513
514
515
# File 'lib/breakpoint.rb', line 503

def evaluate(*args)
  if Breakpoint.use_drb? then
    result = old_evaluate(*args)
    if args[0] != :no_proxy and
      not [true, false, nil].include?(result)
    then
      result.extend(DRbUndumped) rescue nil
    end
    return result
  else
    old_evaluate(*args)
  end
end

#old_evaluateObject



501
# File 'lib/breakpoint.rb', line 501

alias :old_evaluate :evaluate