Class: Mongoid::MigrationProxy

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

Instance Attribute Details

#filenameObject

Returns the value of attribute filename.



167
168
169
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 167

def filename
  @filename
end

#nameObject

Returns the value of attribute name.



167
168
169
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 167

def name
  @name
end

#versionObject

Returns the value of attribute version.



167
168
169
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 167

def version
  @version
end