mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
f6ef26c411
commit
a1dc1d6a8c
4 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jun 23 23:35:32 2006 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.
|
||||
[ruby-dev:28805]
|
||||
|
||||
Fri Jun 23 17:27:52 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_block_pass): removed.
|
||||
|
|
|
@ -614,7 +614,7 @@ module DRb
|
|||
msg = load(stream)
|
||||
argc = load(stream)
|
||||
raise ArgumentError, 'too many arguments' if @argc_limit < argc
|
||||
argv = Values.new(argc, nil)
|
||||
argv = Array.new(argc, nil)
|
||||
argc.times do |n|
|
||||
argv[n] = load(stream)
|
||||
end
|
||||
|
|
|
@ -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)
|
||||
|
|
1
ruby.h
1
ruby.h
|
@ -632,7 +632,6 @@ RUBY_EXTERN VALUE rb_mProcess;
|
|||
RUBY_EXTERN VALUE rb_cBasicObject;
|
||||
RUBY_EXTERN VALUE rb_cObject;
|
||||
RUBY_EXTERN VALUE rb_cArray;
|
||||
RUBY_EXTERN VALUE rb_cValues;
|
||||
RUBY_EXTERN VALUE rb_cBignum;
|
||||
RUBY_EXTERN VALUE rb_cClass;
|
||||
RUBY_EXTERN VALUE rb_cDir;
|
||||
|
|
Loading…
Reference in a new issue