Module: Phaedra
- Defined in:
- lib/phaedra/base.rb,
lib/phaedra/version.rb,
lib/phaedra/rack_app.rb,
lib/phaedra/initializers_module.rb,
lib/phaedra/startup_initializers.rb,
lib/phaedra/rack_middleware/static.rb,
lib/phaedra/rack_middleware/not_found.rb,
lib/phaedra/concerns/callbacks_actionable.rb
Defined Under Namespace
Modules: CallbacksActionable, Initializers, Middleware Classes: Base, RackApp, Request
Constant Summary collapse
- VERSION =
"0.5.3"
Class Method Summary collapse
Class Method Details
.environment ⇒ Object
6 7 8 |
# File 'lib/phaedra/startup_initializers.rb', line 6 def self.environment @environment ||= ENV.fetch("PHAEDRA_ENV", :development).to_sym end |