Module: PgHaMigrations::AutoIncluder

Defined in:
lib/pg_ha_migrations.rb

Instance Method Summary collapse

Instance Method Details

#inherited(klass) ⇒ Object



90
91
92
93
94
95
# File 'lib/pg_ha_migrations.rb', line 90

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

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