Class: Mongoid::MigrationProxy
- Inherits:
-
Object
- Object
- Mongoid::MigrationProxy
- Defined in:
- lib/mongoid_rails_migrations/active_record_ext/migrations.rb
Overview
MigrationProxy is used to defer loading of the actual migration classes until they are needed
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#name ⇒ Object
Returns the value of attribute name.
-
#sharded ⇒ Object
Returns the value of attribute sharded.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename.
166 167 168 |
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 166 def filename @filename end |
#name ⇒ Object
Returns the value of attribute name.
166 167 168 |
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 166 def name @name end |
#sharded ⇒ Object
Returns the value of attribute sharded.
166 167 168 |
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 166 def sharded @sharded end |
#version ⇒ Object
Returns the value of attribute version.
166 167 168 |
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 166 def version @version end |