Class: ActiveRecord::ConnectionAdapters::TableDefinition
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::TableDefinition
- Defined in:
- lib/enum/schema_definitions.rb
Instance Method Summary collapse
Instance Method Details
#enum(*args) ⇒ Object
5 6 7 8 9 |
# File 'lib/enum/schema_definitions.rb', line 5 def enum(*args) = args. column_names = args column_names.each { |name| column(name, 'enum', ) } end |