class StandaloneValidator::Violation

Public Instance Methods

add_to(errors_object) click to toggle source
# File lib/standalone_validator/violation.rb, line 15
def add_to(errors_object)
  errors_object.add(attribute, message || type, options)
  self
end