instance method attribute_method_matchers_matching

Ruby on Rails 7.0.10

Since v5.2.8.1 Last seen in v7.0.10 Private

Available in: v5.2.8.1 v6.0.6 v6.1.7.10 v7.0.10

Signature

attribute_method_matchers_matching(method_name)

No documentation comment.

Parameters

method_name req
Source
# File activemodel/lib/active_model/attribute_methods.rb, line 374
        def attribute_method_matchers_matching(method_name)
          attribute_method_matchers_cache.compute_if_absent(method_name) do
            attribute_method_matchers.filter_map { |matcher| matcher.match(method_name) }
          end
        end

Defined in activemodel/lib/active_model/attribute_methods.rb line 374 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::AttributeMethods::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close