Method: Datamappify::Repository::UnitOfWork::PersistentStates::Object#construct_attribute
- Defined in:
- lib/datamappify/repository/unit_of_work/persistent_states/object.rb
#construct_attribute(name) ⇒ void (private)
This method returns an undefined value.
Constructs an attribute with a getter, setter and ‘_changed?’ method
62 63 64 65 66 |
# File 'lib/datamappify/repository/unit_of_work/persistent_states/object.rb', line 62 def construct_attribute(name) construct_getter(name) construct_setter(name) construct_changed(name) end |