Module: Humanizer::ClassMethods
- Defined in:
- lib/humanizer.rb
Instance Method Summary collapse
Instance Method Details
#require_human_on(validate_on = nil, opts = {}) ⇒ Object
67 68 69 70 |
# File 'lib/humanizer.rb', line 67 def require_human_on(validate_on = nil, opts = {}) opts[:on] = validate_on if validate_on validate :humanizer_check_answer, opts end |