class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern
def match(method_name)
def match(method_name) if @regex =~ method_name AttributeMethod.new(proxy_target, $1) end end
def match(method_name) if @regex =~ method_name AttributeMethod.new(proxy_target, $1) end end