Module: DBNazi::Migration

Defined in:
lib/db_nazi/migration.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'lib/db_nazi/migration.rb', line 3

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#nazi_disabled?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/db_nazi/migration.rb', line 7

def nazi_disabled?
  self.class.nazi_disabled?
end