Method: DRb::DRbServer::InvokeMethod18Mixin#block_yield
- Defined in:
- lib/drb/invokemethod.rb
#block_yield(x) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/drb/invokemethod.rb', line 7 def block_yield(x) if x.size == 1 && x[0].class == Array x[0] = DRbArray.new(x[0]) end @block.call(*x) end |