Method: PureValidator::ValidationErrors#clear
- Defined in:
- lib/pure_validator/validation_errors.rb
#clear ⇒ Object
Clear the error messages.
errors. # => ["name can not be nil"]
errors.clear
errors. # => []
13 14 15 |
# File 'lib/pure_validator/validation_errors.rb', line 13 def clear .clear end |