diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/rinda/rinda.rb | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -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) |