Module: Familia::Migration
- Defined in:
- lib/familia/migration.rb,
lib/familia/migration/base.rb,
lib/familia/migration/model.rb,
lib/familia/migration/errors.rb,
lib/familia/migration/runner.rb,
lib/familia/migration/script.rb,
lib/familia/migration/pipeline.rb,
lib/familia/migration/registry.rb,
lib/familia/migration/rake_tasks.rb
Defined Under Namespace
Modules: Errors Classes: Base, Configuration, Model, Pipeline, RakeTasks, Registry, Runner, Script
Class Method Summary collapse
-
.config ⇒ Object
Configuration.
- .configure {|config| ... } ⇒ Object
-
.migrations ⇒ Object
Registered migration classes (populated by Base.inherited).
- .migrations=(list) ⇒ Object
Class Method Details
.config ⇒ Object
Configuration
24 25 26 |
# File 'lib/familia/migration.rb', line 24 def config @config ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
28 29 30 |
# File 'lib/familia/migration.rb', line 28 def configure yield config if block_given? end |
.migrations ⇒ Object
Registered migration classes (populated by Base.inherited)
15 16 17 |
# File 'lib/familia/migration.rb', line 15 def migrations @migrations ||= [] end |
.migrations=(list) ⇒ Object
19 20 21 |
# File 'lib/familia/migration.rb', line 19 def migrations=(list) @migrations = list end |