diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-16 03:38:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-16 03:38:53 +0000 |
commit | 03f06115a6653d05fd5c20d9eedc5088ffdcdd0e (patch) | |
tree | 6fde6ef1c6898bcd0a10c21ec05c21ebe8addbd5 /lib/drb/invokemethod.rb | |
parent | 729aa8e1f40be5cdf78df5e357108ea68f41a06a (diff) | |
download | ruby-03f06115a6653d05fd5c20d9eedc5088ffdcdd0e.tar.gz |
* lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str is
deprecated.
* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple
value class changed.
* lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb/invokemethod.rb')
-rw-r--r-- | lib/drb/invokemethod.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/invokemethod.rb b/lib/drb/invokemethod.rb index 412b2ab9b5..7cea01707f 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 == Array + if x.size == 1 && x[0].class == Values x[0] = DRbArray.new(x[0]) end block_value = @block.call(*x) |