summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-28 13:51:31 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-28 13:51:31 +0000
commitdaa1423dea418737e2a0b371921c8d02df07f1f6 (patch)
treee578745bb0e19d9cb9732ec5b49ff7f988792f5e
parent6ccd46b7b252a9f2d6468f5582b8630242ad88b6 (diff)
fix TupleSpaceProxy#read, read_all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/rinda/rinda.rb6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d144191d52..ec547ec64b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/lib/rinda/rinda.rb b/lib/rinda/rinda.rb
index 72b0e45cdf..273560b1de 100644
--- a/lib/rinda/rinda.rb
+++ b/lib/rinda/rinda.rb
@@ -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)