Module: SaveWhatsValid::ClassMethods
- Defined in:
- lib/save_whats_valid.rb
Instance Attribute Summary collapse
-
#save_whats_valid_attributes ⇒ Object
Returns the value of attribute save_whats_valid_attributes.
Instance Method Summary collapse
Instance Attribute Details
#save_whats_valid_attributes ⇒ Object
Returns the value of attribute save_whats_valid_attributes.
5 6 7 |
# File 'lib/save_whats_valid.rb', line 5 def save_whats_valid_attributes @save_whats_valid_attributes end |
Instance Method Details
#save_whats_valid(*attributes) ⇒ Object
6 7 8 |
# File 'lib/save_whats_valid.rb', line 6 def save_whats_valid(*attributes) self.save_whats_valid_attributes = attributes end |