Class: IRB::WorkSpace

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#evaluate(*args) ⇒ Object



479
480
481
482
483
484
485
486
487
488
489
490
491
# File 'lib/active_support/breakpoint.rb', line 479

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



477
# File 'lib/active_support/breakpoint.rb', line 477

alias :old_evaluate :evaluate