Module: Servizio::Service::DefineColumnType::ClassMethods
- Defined in:
- lib/servizio/service/define_column_type.rb
Instance Method Summary collapse
Instance Method Details
#define_column_type(attribute, type) ⇒ Object
23 24 25 26 27 |
# File 'lib/servizio/service/define_column_type.rb', line 23 def define_column_type(attribute, type) define_method(Servizio::Service::DefineColumnType.column_type_getter_name(attribute)) do type.to_sym end end |