Module: MigrationTools
- Defined in:
- lib/migration_tools.rb,
lib/migration_tools/tasks.rb,
lib/migration_tools/migration_extension.rb
Defined Under Namespace
Modules: MigrationExtension
Classes: Tasks
Constant Summary
collapse
- MIGRATION_GROUPS =
[ 'before', 'during', 'after', 'change' ]
Class Method Summary
collapse
Class Method Details
.forced! ⇒ Object
14
15
16
|
# File 'lib/migration_tools.rb', line 14
def self.forced!
@forced = true
end
|
.forced? ⇒ Boolean
10
11
12
|
# File 'lib/migration_tools.rb', line 10
def self.forced?
defined?(@forced) && !!@forced
end
|