Module: Sniffed::Sniffer::SniffedInstanceMethods

Defined in:
lib/sniffed/sniffer.rb

Instance Method Summary collapse

Instance Method Details

#commited_changesObject



21
22
23
# File 'lib/sniffed/sniffer.rb', line 21

def commited_changes
  @unfiltered_commited_changes.reject(&unchanged_attributes)
end

#reset_commited_changesObject



17
18
19
# File 'lib/sniffed/sniffer.rb', line 17

def reset_commited_changes
  @unfiltered_commited_changes = {}
end