Module: DataMapper::Validations::AutoValidations::ModelExtension
- Defined in:
- lib/dm-validations/auto_validate.rb
Instance Method Summary collapse
- #property ⇒ Object private
Instance Method Details
#property ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 13 14 15 |
# File 'lib/dm-validations/auto_validate.rb', line 10 def property(*) property = super AutoValidations.generate_for_property(property) # FIXME: explicit return needed for YARD to parse this properly return property end |