Flowdock
method

matches?

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: AttributeDefinition
matches?(method_name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/acceptance.rb, line 47
          def matches?(method_name)
            attr_name = convert_to_reader_name(method_name)
            attributes.include?(attr_name)
          end
Register or log in to add new notes.