class Parxer::RowErrors

Public Instance Methods

add_error(attribute_name, error) click to toggle source
# File lib/parxer/collections/row_errors.rb, line 3
def add_error(attribute_name, error)
  self[attribute_name.to_sym] = error
end
attribute_error(attribute_name) click to toggle source
# File lib/parxer/collections/row_errors.rb, line 11
def attribute_error(attribute_name)
  self[attribute_name.to_sym]
end
attribute_error?(attribute_name) click to toggle source
# File lib/parxer/collections/row_errors.rb, line 7
def attribute_error?(attribute_name)
  !!attribute_error(attribute_name)
end
errors?() click to toggle source
# File lib/parxer/collections/row_errors.rb, line 15
def errors?
  any?
end