lib/sub_diff/collection.rb in sub_diff-1.0.5 vs lib/sub_diff/collection.rb in sub_diff-1.0.6
- old
+ new
@@ -19,9 +19,10 @@
end
def clear
diffs.clear
__setobj__('')
+ self
end
def push(diff)
unless diff.empty?
diffs << diff