Class: SimpleMapper::ChangeHash
- Inherits:
-
Hash
- Object
- Hash
- SimpleMapper::ChangeHash
- Defined in:
- lib/simple_mapper/change_hash.rb
Instance Attribute Summary collapse
-
#all ⇒ Object
readonly
Returns the value of attribute all.
Instance Method Summary collapse
Instance Attribute Details
#all ⇒ Object (readonly)
Returns the value of attribute all.
3 4 5 |
# File 'lib/simple_mapper/change_hash.rb', line 3 def all @all end |
Instance Method Details
#all_changed! ⇒ Object
5 6 7 |
# File 'lib/simple_mapper/change_hash.rb', line 5 def all_changed! @all = true end |
#clear ⇒ Object
9 10 11 12 |
# File 'lib/simple_mapper/change_hash.rb', line 9 def clear @all = false super end |