Namespace
Methods
B
C
E
I
L
P
R
V
Class Public methods
backtrace_cleaner()
# File railties/lib/initializer.rb, line 43
def backtrace_cleaner
  @@backtrace_cleaner ||= begin
    # Relies on ActiveSupport, 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/initializer.rb, line 59
def cache
  RAILS_CACHE
end
configuration()

The Configuration instance used to configure the Rails environment

# File railties/lib/initializer.rb, line 19
def configuration
  @@configuration
end
configuration=(configuration)
# File railties/lib/initializer.rb, line 23
def configuration=(configuration)
  @@configuration = configuration
end
env()
# File railties/lib/initializer.rb, line 55
def env
  @_env ||= ActiveSupport::StringInquirer.new(RAILS_ENV)
end
initialized=(initialized)
# File railties/lib/initializer.rb, line 31
def initialized=(initialized)
  @initialized ||= initialized
end
initialized?()
# File railties/lib/initializer.rb, line 27
def initialized?
  @initialized || false
end
logger()
# File railties/lib/initializer.rb, line 35
def logger
  if defined?(RAILS_DEFAULT_LOGGER)
    RAILS_DEFAULT_LOGGER
  else
    nil
  end
end
public_path()
# File railties/lib/initializer.rb, line 67
def public_path
  @@public_path ||= self.root ? File.join(self.root, "public") : "public"
end
public_path=(path)
# File railties/lib/initializer.rb, line 71
def public_path=(path)
  @@public_path = path
end
root()
# File railties/lib/initializer.rb, line 51
def root
  Pathname.new(RAILS_ROOT) if defined?(RAILS_ROOT)
end
version()
# File railties/lib/initializer.rb, line 63
def version
  VERSION::STRING
end