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