method
matches?
v5.0.0.1 -
Show latest stable
- Class:
ActiveModel::Validations::AcceptanceValidator::AttributeDefinition
matches?(method_name)public
No documentation available.
# File activemodel/lib/active_model/validations/acceptance.rb, line 48
def matches?(method_name)
attr_name = convert_to_reader_name(method_name)
attributes.include?(attr_name)
end