diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rinda/tuplespace.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rinda/tuplespace.rb b/lib/rinda/tuplespace.rb index 69e1780b0f..b0409dde3b 100644 --- a/lib/rinda/tuplespace.rb +++ b/lib/rinda/tuplespace.rb @@ -411,7 +411,8 @@ module Rinda end def bin_for_find(template) - @hash.fetch(bin_key(template), @enum) + key = bin_key(template) + key ? @hash.fetch(key, []) : @enum end end |