Methods
Public Class methods
application()
  # File railties/lib/rails.rb, line 34
def application
  @@application ||= nil
end
application=(application)
  # File railties/lib/rails.rb, line 38
def application=(application)
  @@application = application
end
backtrace_cleaner()
  # File railties/lib/rails.rb, line 67
def backtrace_cleaner
  @@backtrace_cleaner ||= begin
    # Relies on Active Support, so we have to lazy load to postpone definition until AS has been loaded
    require 'rails/backtrace_cleaner'
    Rails::BacktraceCleaner.new
  end
end
cache()
  # File railties/lib/rails.rb, line 87
def cache
  RAILS_CACHE
end
configuration()

The Configuration instance used to configure the Rails environment

  # File railties/lib/rails.rb, line 43
def configuration
  application.config
end
env()
  # File railties/lib/rails.rb, line 79
def env
  @_env ||= ActiveSupport::StringInquirer.new(ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development")
end
env=(environment)
  # File railties/lib/rails.rb, line 83
def env=(environment)
  @_env = ActiveSupport::StringInquirer.new(environment)
end
initialize!()
  # File railties/lib/rails.rb, line 47
def initialize!
  application.initialize!
end
initialized=(initialized)
  # File railties/lib/rails.rb, line 55
def initialized=(initialized)
  @@initialized ||= initialized
end
initialized?()
  # File railties/lib/rails.rb, line 51
def initialized?
  @@initialized || false
end
logger()
  # File railties/lib/rails.rb, line 59
def logger
  @@logger ||= nil
end
logger=(logger)
  # File railties/lib/rails.rb, line 63
def logger=(logger)
  @@logger = logger
end
public_path()
  # File railties/lib/rails.rb, line 95
def public_path
  application && application.paths.public.to_a.first
end
public_path=(path)
  # File railties/lib/rails.rb, line 99
def public_path=(path)
  ActiveSupport::Deprecation.warn "Setting Rails.public_path= is deprecated. " <<
    "Please set paths.public = in config/application.rb instead.", caller
end
root()
  # File railties/lib/rails.rb, line 75
def root
  application && application.config.root
end
version()
  # File railties/lib/rails.rb, line 91
def version
  VERSION::STRING
end