lib/phillumeny/active_model/validate_presence_of_any.rb
# Runs the logic to determine if expectations are being met
#
# @api private
#
# @return [Boolean]
Runs the logic to determine if expectations are being met
Runs the logic to determine if expectations are being met
def matches?(subject)
        @subject = subject
        store_initial_values
        invalid_when_none_present? && attributes.all? do |attribute|
          clear_attributes_and_errors
          initialize_value(attribute)
          free_of_errors_on_attribute?(attribute) ? other_attributes_valid?(attribute) : false
        end
      end
def matches? ( subject ) @subject = subject store_initial_values invalid_when_none_present? && attributes . all? do | attribute | clear_attributes_and_errors initialize_value ( attribute ) free_of_errors_on_attribute? ( attribute ) ? other_attributes_valid? ( attribute ) : false end end
Runs the logic to determine if expectations are being met
Runs the logic to determine if expectations are being met
None
Boolean
subject
<not_specific>
api
None