--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Returns nil, if no errors are associated with the specified <tt>attribute</tt>.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Returns the error message, if one error is associated with the specified <tt>attribute</tt>.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Returns an array of error messages, if more than one error is associated with the specified <tt>attribute</tt>.
  type: :BULLET
full_name: Validatable::Errors#on
is_singleton: false
name: "on"
params: " on(attribute)\n"
visibility: public
