matches?(method_name)
public

No documentation available.

# File activemodel/lib/active_model/validations/acceptance.rb, line 51
          def matches?(method_name)
            attr_name = method_name.to_s.chomp("=")
            attributes.any? { |name| name == attr_name }
          end