Class: Mongoid::History::Attributes::Update
- Defined in:
- lib/mongoid/history/attributes/update.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#attributes ⇒ Hash<String, Array<(?,?)>>
Hash of changes.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mongoid::History::Attributes::Base
Instance Method Details
#attributes ⇒ Hash<String, Array<(?,?)>>
Returns Hash of changes.
14 15 16 |
# File 'lib/mongoid/history/attributes/update.rb', line 14 def attributes changes_from_parent.deep_merge(changes_from_children) end |