Flowdock
method

match

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Method
match(model, name) public

No documentation

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

Hide source
# File activerecord/lib/active_record/dynamic_matchers.rb, line 32
          def match(model, name)
            klass = matchers.find { |k| k.pattern.match?(name) }
            klass.new(model, name) if klass
          end
Register or log in to add new notes.