Class: SlashMigrate::MigrationRunner::Migration
- Inherits:
-
Struct
- Object
- Struct
- SlashMigrate::MigrationRunner::Migration
- Defined in:
- app/services/slash_migrate/migration_runner.rb
Instance Attribute Summary collapse
-
#applied ⇒ Object
Returns the value of attribute applied.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#applied ⇒ Object
Returns the value of attribute applied
12 13 14 |
# File 'app/services/slash_migrate/migration_runner.rb', line 12 def applied @applied end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'app/services/slash_migrate/migration_runner.rb', line 12 def name @name end |
#version ⇒ Object
Returns the value of attribute version
12 13 14 |
# File 'app/services/slash_migrate/migration_runner.rb', line 12 def version @version end |
Instance Method Details
#applied? ⇒ Boolean
13 |
# File 'app/services/slash_migrate/migration_runner.rb', line 13 def applied? = applied |
#status ⇒ Object
14 |
# File 'app/services/slash_migrate/migration_runner.rb', line 14 def status = applied ? "up" : "down" |