method
attribute_method_patterns_matching
rails 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 412
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