Top Level Namespace

Defined Under Namespace

Modules: FileSet, Haml, Kernel, Padrino Classes: Module, Numeric, Object, String, TemporaryString

Constant Summary collapse

RACK_ENV =

Defines our constants

ENV['RACK_ENV'] ||= 'development'
PADRINO_ROOT =
File.expand_path('../..', __FILE__)
PADRINO_I18N_LOCALE =
true
PADRINO_LOG_LEVEL =

Defines the log level for a Padrino project.

ENV['PADRINO_LOG_LEVEL']
PADRINO_LOGGER =

Defines the logger used for a Padrino project.

ENV['PADRINO_LOGGER']
SafeBuffer =
Padrino::SafeBuffer

Instance Method Summary collapse

Instance Method Details

#rootObject

Require initializers before all other dependencies. Dependencies from ‘config’ folder are NOT re-required on reload.



45
# File 'padrino-gen/lib/padrino-gen/generators/project/config/boot.rb', line 45

Padrino.dependency_paths.unshift Padrino.root('config/initializers/*.rb')