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.



34
35
36
37
38
# File 'lib/sequel/plugins/modification_detection.rb', line 34

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