Module: Ripple::AttributeMethods::Dirty::ClassMethods

Defined in:
lib/ripple/attribute_methods/dirty.rb

Instance Method Summary collapse

Instance Method Details

#instantiate(robject) ⇒ Object



12
13
14
15
16
# File 'lib/ripple/attribute_methods/dirty.rb', line 12

def instantiate(robject)
  super(robject).tap do |o|
    o.changed_attributes.clear
  end
end