= private = protected
delete(tuple)
Removes tuple from the TupleBag.
# File lib/rinda/tuplespace.rb, line 341 def delete(tuple) key = bin_key(tuple) bin = @hash[key] return nil unless bin bin.delete(tuple) @hash.delete(key) if bin.empty? tuple end