summaryrefslogtreecommitdiff
path: root/lib/rinda
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 /lib/rinda
parent6ccd46b7b252a9f2d6468f5582b8630242ad88b6 (diff)
fix TupleSpaceProxy#read, read_all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rinda')
-rw-r--r--lib/rinda/rinda.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rinda/rinda.rb b/lib/rinda/rinda.rb
index 72b0e45..273560b 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)