Class: IRB::WorkSpace
- Inherits:
-
Object
- Object
- IRB::WorkSpace
- Defined in:
- lib/breakpoint.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#evaluate(*args) ⇒ Object
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 |
# File 'lib/breakpoint.rb', line 527 def evaluate(*args) if Breakpoint.use_drb? then result = old_evaluate(*args) if args[0] != :no_proxy and not [true, false, nil].include?(result) and not result.is_a?(String) and not result.is_a?(Numeric) then result.extend(DRbUndumped) rescue nil end return result else old_evaluate(*args) end end |
#old_evaluate ⇒ Object
525 |
# File 'lib/breakpoint.rb', line 525 alias :old_evaluate :evaluate |