From a1dc1d6a8cf4d1d4776a13dbb8574a8c28e1a5bb Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 23 Jun 2006 14:39:01 +0000 Subject: * ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class. [ruby-dev:28805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/drb/invokemethod.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/drb/invokemethod.rb') diff --git a/lib/drb/invokemethod.rb b/lib/drb/invokemethod.rb index a59b41d0a0..2bcd12f5f5 100644 --- a/lib/drb/invokemethod.rb +++ b/lib/drb/invokemethod.rb @@ -4,7 +4,7 @@ module DRb class DRbServer module InvokeMethod18Mixin def block_yield(x) - if x.size == 1 && x[0].class == Values + if x.size == 1 && x[0].class == Array x[0] = DRbArray.new(x[0]) end block_value = @block.call(*x) -- cgit v1.2.3