Method: ActiveEntity::AMAttributeMethods::ClassMethods::AttributeMethodMatcher#match

Defined in:
lib/active_entity/attribute_methods.rb

#match(method_name) ⇒ Object



385
386
387
388
389
# File 'lib/active_entity/attribute_methods.rb', line 385

def match(method_name)
  if @regex =~ method_name
    AttributeMethodMatch.new(target, $1)
  end
end