GIF87a;
# for ruby-1.8.0 module DRb class DRbServer module InvokeMethod18Mixin # :nodoc: all def block_yield(x) if x.size == 1 && x[0].class == Array x[0] = DRbArray.new(x[0]) end @block.call(*x) end def perform_with_block @obj.__send__(@msg_id, *@argv) do |*x| jump_error = nil begin block_value = block_yield(x) rescue LocalJumpError jump_error = $! end if jump_error case jump_error.reason when :break break(jump_error.exit_value) else raise jump_error end end block_value end end end end end
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
acl.rb | File | 4.65 KB | 0644 |
|
drb.rb | File | 55.39 KB | 0644 |
|
eq.rb | File | 244 B | 0644 |
|
extserv.rb | File | 1.2 KB | 0644 |
|
extservm.rb | File | 1.71 KB | 0644 |
|
gw.rb | File | 2.97 KB | 0644 |
|
invokemethod.rb | File | 746 B | 0644 |
|
observer.rb | File | 636 B | 0644 |
|
ssl.rb | File | 11.5 KB | 0644 |
|
timeridconv.rb | File | 2.11 KB | 0644 |
|
unix.rb | File | 2.72 KB | 0644 |
|