class ActiveRecord::DynamicMatchers::Method

def match(model, name)

Experimental RBS support (using type sampling data from the type_fusion project).

def match: (Class model, Symbol name) -> untyped

This signature was generated using 21 samples from 1 application.

def match(model, name)
  klass = matchers.find { |k| k.pattern.match?(name) }
  klass.new(model, name) if klass
end