Module: Sequel::Plugins::ModificationDetection::ClassMethods

Defined in:
lib/sequel/plugins/modification_detection.rb

Instance Method Summary collapse

Instance Method Details

#call(_) ⇒ Object

Calculate the hashes for all of the column values, so that they can be compared later to determine if the column value has changed.



39
40
41
42
43
# File 'lib/sequel/plugins/modification_detection.rb', line 39

def call(_)
  v = super
  v.calculate_values_hashes
  v
end