Struct.new(:name, :version, :filename, :scope)
MigrationProxy is used to defer loading of the actual migration classes until they are needed
# File lib/active_record/migration.rb, line 519 519: def initialize(name, version, filename, scope) 520: super 521: @migration = nil 522: end
# File lib/active_record/migration.rb, line 524 524: def basename 525: File.basename(filename) 526: end
# File lib/active_record/migration.rb, line 536 536: def load_migration 537: require(File.expand_path(filename)) 538: name.constantize.new 539: end
# File lib/active_record/migration.rb, line 532 532: def migration 533: @migration ||= load_migration 534: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.