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.



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

def filename
  @filename
end

#nameObject

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

#shardedObject

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

#versionObject

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