Class: Rails::Generators::GeneratedAttribute
- Inherits:
-
Object
- Object
- Rails::Generators::GeneratedAttribute
- Defined in:
- lib/generators/sequel.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#type_class ⇒ Object
76 77 78 79 |
# File 'lib/generators/sequel.rb', line 76 def type_class return 'DateTime' if type.to_s == 'datetime' return type.to_s.camelcase end |