Module: PgHaMigrations::AutoIncluder

Defined in:
lib/pg_ha_migrations.rb

Instance Method Summary collapse

Instance Method Details

#inherited(klass) ⇒ Object



65
66
67
68
69
70
# File 'lib/pg_ha_migrations.rb', line 65

def inherited(klass)
  super(klass) if defined?(super)

  klass.prepend(PgHaMigrations::UnsafeStatements)
  klass.prepend(PgHaMigrations::SafeStatements)
end