Module: Recliner::AttributeMethods::ClassMethods
- Defined in:
- lib/recliner/attribute_methods.rb
Instance Method Summary collapse
-
#define_attribute_methods ⇒ Object
Generates all the attribute related methods for defined properties accessors, mutators and query methods.
- #property(*args) ⇒ Object
Instance Method Details
#define_attribute_methods ⇒ Object
Generates all the attribute related methods for defined properties accessors, mutators and query methods.
22 23 24 |
# File 'lib/recliner/attribute_methods.rb', line 22 def define_attribute_methods super(properties.keys) end |
#property(*args) ⇒ Object
26 27 28 29 |
# File 'lib/recliner/attribute_methods.rb', line 26 def property(*args) super undefine_attribute_methods end |