lib/migration_tools.rb in migration_tools-1.3.1 vs lib/migration_tools.rb in migration_tools-1.4.0
- old
+ new
@@ -6,10 +6,10 @@
require 'migration_tools/migration_extension'
require 'migration_tools/tasks'
module MigrationTools
def self.forced?
- !!@forced
+ defined?(@forced) && !!@forced
end
def self.forced!
@forced = true
end