Module: NumeritajTipo::Base

Included in:
ActiveRecord, Mongoid, Neo4j
Defined in:
lib/numeritaj_tipo/base.rb

Instance Method Summary collapse

Instance Method Details

#enumerize(attribute_name, options = {}) ⇒ Object



3
4
5
# File 'lib/numeritaj_tipo/base.rb', line 3

def enumerize(attribute_name, options = {})
  AttributeDefinition.new(attribute_name, options).build(self)
end