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.



180
181
182
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 180

def filename
  @filename
end

#nameObject

Returns the value of attribute name.



180
181
182
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 180

def name
  @name
end

#versionObject

Returns the value of attribute version.



180
181
182
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 180

def version
  @version
end