Class: PG::Schema::Migration
- Inherits:
-
Object
- Object
- PG::Schema::Migration
- Defined in:
- lib/pg/schema-migration.rb
Instance Attribute Summary collapse
-
#down ⇒ Object
Returns the value of attribute down.
-
#up ⇒ Object
Returns the value of attribute up.
Instance Method Summary collapse
-
#initialize ⇒ Migration
constructor
A new instance of Migration.
Constructor Details
#initialize ⇒ Migration
Returns a new instance of Migration.
31 32 33 34 |
# File 'lib/pg/schema-migration.rb', line 31 def initialize @up = [] @down = [] end |
Instance Attribute Details
#down ⇒ Object
Returns the value of attribute down.
29 30 31 |
# File 'lib/pg/schema-migration.rb', line 29 def down @down end |
#up ⇒ Object
Returns the value of attribute up.
29 30 31 |
# File 'lib/pg/schema-migration.rb', line 29 def up @up end |