Class: MongoidMigration::MigrationProxy
- Inherits:
-
Object
- Object
- MongoidMigration::MigrationProxy
- Defined in:
- lib/mongoid_migration/migration.rb
Overview
MigrationProxy is used to defer loading of the actual migration classes until they are needed
Instance Attribute Summary collapse
-
#basename ⇒ Object
Returns the value of attribute basename.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#name ⇒ Object
Returns the value of attribute name.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Attribute Details
#basename ⇒ Object
Returns the value of attribute basename.
42 43 44 |
# File 'lib/mongoid_migration/migration.rb', line 42 def basename @basename end |
#filename ⇒ Object
Returns the value of attribute filename.
42 43 44 |
# File 'lib/mongoid_migration/migration.rb', line 42 def filename @filename end |
#name ⇒ Object
Returns the value of attribute name.
42 43 44 |
# File 'lib/mongoid_migration/migration.rb', line 42 def name @name end |
#scope ⇒ Object
Returns the value of attribute scope.
42 43 44 |
# File 'lib/mongoid_migration/migration.rb', line 42 def scope @scope end |
#version ⇒ Object
Returns the value of attribute version.
42 43 44 |
# File 'lib/mongoid_migration/migration.rb', line 42 def version @version end |