Class: MongoidMigration::MigrationProxy

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#basenameObject

Returns the value of attribute basename.



42
43
44
# File 'lib/mongoid_migration/migration.rb', line 42

def basename
  @basename
end

#filenameObject

Returns the value of attribute filename.



42
43
44
# File 'lib/mongoid_migration/migration.rb', line 42

def filename
  @filename
end

#nameObject

Returns the value of attribute name.



42
43
44
# File 'lib/mongoid_migration/migration.rb', line 42

def name
  @name
end

#scopeObject

Returns the value of attribute scope.



42
43
44
# File 'lib/mongoid_migration/migration.rb', line 42

def scope
  @scope
end

#versionObject

Returns the value of attribute version.



42
43
44
# File 'lib/mongoid_migration/migration.rb', line 42

def version
  @version
end