lib/sniffed/sniffer.rb in sniffed-0.1.0 vs lib/sniffed/sniffer.rb in sniffed-0.1.1
- old
+ new
@@ -23,14 +23,10 @@
end
private
def track_commited_changes
- previous_changes.each_pair(&testing)
previous_changes.each_pair(&track_commited_change)
- end
-
- def testing
end
def track_commited_change
lambda do |(attribute, (previous_value, current_value))|
if @unfiltered_commited_changes.key?(attribute)