lib/phillumeny/active_model/validate_presence_of_any.rb
# Clears all of the attributes that we are testing against
#
# @api private
#
# @return [void]
Clears all of the attributes that we are testing against
Clears all of the attributes that we are testing against
def clear_attributes_and_errors
        attributes.each do |attribute|
          subject.send("#{attribute}=", nil)
        end
        subject.errors.clear
      end
def clear_attributes_and_errors attributes . each do | attribute | subject . send ( "#{attribute}=" , nil ) end subject . errors . clear end
Clears all of the attributes that we are testing against
Clears all of the attributes that we are testing against
None
void
api
None