Method: LHS::Problems::Base#add
- Defined in:
- lib/lhs/problems/base.rb
#add(attribute, message = :invalid, options = {}) ⇒ Object
19 20 21 22 |
# File 'lib/lhs/problems/base.rb', line 19 def add(attribute, = :invalid, = {}) self[attribute] [attribute] << (attribute, , ) end |