Class: IRB::WorkSpace

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#evaluate(*args) ⇒ Object



509
510
511
512
513
514
515
516
517
518
519
520
521
# File 'lib/breakpoint.rb', line 509

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



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

alias :old_evaluate :evaluate