Class: Hayfork::Generators::CreateOrReplaceMigration
- Inherits:
-
Rails::Generators::Actions::CreateMigration
- Object
- Rails::Generators::Actions::CreateMigration
- Hayfork::Generators::CreateOrReplaceMigration
- Defined in:
- lib/generators/hayfork/rebuild_generator.rb
Instance Method Summary collapse
- #identical? ⇒ Boolean
-
#initialize(base, destination, data, config = {}) ⇒ CreateOrReplaceMigration
constructor
A new instance of CreateOrReplaceMigration.
Constructor Details
#initialize(base, destination, data, config = {}) ⇒ CreateOrReplaceMigration
Returns a new instance of CreateOrReplaceMigration.
8 9 10 11 |
# File 'lib/generators/hayfork/rebuild_generator.rb', line 8 def initialize(base, destination, data, config = {}) config[:force] = true super end |
Instance Method Details
#identical? ⇒ Boolean
13 14 15 |
# File 'lib/generators/hayfork/rebuild_generator.rb', line 13 def identical? false end |