method
attribute_method_patterns_matching
v8.1.1 -
Show latest stable
- Class:
ActiveModel::AttributeMethods::ClassMethods
attribute_method_patterns_matching(method_name)private
No documentation available.
# File activemodel/lib/active_model/attribute_methods.rb, line 421
def attribute_method_patterns_matching(method_name)
attribute_method_patterns_cache.compute_if_absent(method_name) do
attribute_method_patterns.filter_map { |pattern| pattern.match(method_name) }
end
end