1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix TupleSpaceProxy#read, read_all

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
seki 2003-11-28 13:51:31 +00:00
parent 6ccd46b7b2
commit daa1423dea
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Fri Nov 28 22:49:56 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/rinda/rinda.rb: fix TupleSpaceProxy#read, read_all.
Fri Nov 28 21:44:40 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not

View file

@ -102,12 +102,12 @@ module Rinda
port[0]
end
def read(tuple, sec=nil)
@ts.read(tuple, sec)
def read(tuple, sec=nil, &block)
@ts.read(tuple, sec, &block)
end
def read_all(tuple)
@ts.read_all
@ts.read_all(tuple)
end
def notify(ev, tuple, sec=nil)