method

run

rails latest stable - Class: Rails::Initializer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

run(&block)
public

No documentation available.

# File railties/lib/rails/deprecation.rb, line 6
    def self.run(&block)
      klass = Class.new(Rails::Application)
      klass.instance_exec(klass.config, &block)
      klass.initialize!
    end