diff options
author | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-06 15:26:25 +0000 |
---|---|---|
committer | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-06 15:26:25 +0000 |
commit | 3d359cecd815f6d6cd9eeb55e14f38de75ab03ee (patch) | |
tree | d184a84cc7c33fcdbc8c1c84ac868570da068605 /lib/rinda/tuplespace.rb | |
parent | 383964bc30a9e0b9f8f8a17dbf0ecd9450bfb90e (diff) | |
download | ruby-3d359cecd815f6d6cd9eeb55e14f38de75ab03ee.tar.gz |
fix hash tuple bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rinda/tuplespace.rb')
-rw-r--r-- | lib/rinda/tuplespace.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rinda/tuplespace.rb b/lib/rinda/tuplespace.rb index d30a5047a8..2353446857 100644 --- a/lib/rinda/tuplespace.rb +++ b/lib/rinda/tuplespace.rb @@ -89,6 +89,10 @@ module Rinda @ary[key] end + def fetch(key) + @ary.fetch(key) + end + # The size of the tuple. def size @ary.size |