lib/pione/patch/rinda-patch.rb in pione-0.1.3 vs lib/pione/patch/rinda-patch.rb in pione-0.1.4

- old
+ new

@@ -233,14 +233,10 @@ # @param [Array] tuple # the tuple # @return [void] def add(tuple) prepare_table(domain(tuple)) - unless @bin[domain(tuple)][name(tuple)] - @bin[domain(tuple)][name(tuple)] = tuple - else - raise RedundantTupleError.new(tuple.value) - end + @bin[domain(tuple)][name(tuple)] = tuple end def delete(tuple) prepare_table(domain(tuple)) @bin[domain(tuple)].delete(name(tuple))