Class: Mobility::BackendGenerators::ColumnBackend
- Inherits:
-
Base
- Object
- Rails::Generators::NamedBase
- Base
- Mobility::BackendGenerators::ColumnBackend
- Defined in:
- lib/rails/generators/mobility/backend_generators/column_backend.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ ColumnBackend
constructor
A new instance of ColumnBackend.
Methods inherited from Base
#backend, #create_migration_file, next_migration_number
Methods included from ActiveRecordMigrationCompatibility
Constructor Details
#initialize(*args) ⇒ ColumnBackend
Returns a new instance of ColumnBackend.
9 10 11 12 |
# File 'lib/rails/generators/mobility/backend_generators/column_backend.rb', line 9 def initialize(*args) super check_data_source! end |