method
match
v6.0.0 -
Show latest stable
- Class:
ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher
match(method_name)public
No documentation available.
# File activemodel/lib/active_model/attribute_methods.rb, line 400
def match(method_name)
if @regex =~ method_name
AttributeMethodMatch.new(target, $1)
end
end