Module: Knot

Defined in:
lib/knot.rb,
lib/knot/util.rb,
lib/knot/render.rb,
lib/knot/dispatch.rb,
lib/knot/application.rb,
lib/knot/render/binding.rb,
lib/knot/render/template.rb,
lib/knot/dispatch/router/config.rb,
lib/knot/application/configuration.rb

Defined Under Namespace

Modules: Dispatch, Render Classes: Application, Util

Constant Summary collapse

Router =
Dispatch::Router

Class Method Summary collapse

Class Method Details

.envObject



7
8
9
# File 'lib/knot.rb', line 7

def self.env
  ENV['RACK_ENV']
end