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