Class: ActualDbSchema::FailedMigration
- Inherits:
-
Struct
- Object
- Struct
- ActualDbSchema::FailedMigration
- Defined in:
- lib/actual_db_schema/failed_migration.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#migration ⇒ Object
Returns the value of attribute migration.
Instance Method Summary collapse
Instance Attribute Details
#exception ⇒ Object
Returns the value of attribute exception
4 5 6 |
# File 'lib/actual_db_schema/failed_migration.rb', line 4 def exception @exception end |
#migration ⇒ Object
Returns the value of attribute migration
4 5 6 |
# File 'lib/actual_db_schema/failed_migration.rb', line 4 def migration @migration end |
Instance Method Details
#filename ⇒ Object
5 6 7 |
# File 'lib/actual_db_schema/failed_migration.rb', line 5 def filename migration.filename end |
#short_filename ⇒ Object
9 10 11 |
# File 'lib/actual_db_schema/failed_migration.rb', line 9 def short_filename migration.filename.sub(File.join(Rails.root, "/"), "") end |