Module: Toto

Defined in:
lib/toto.rb

Defined Under Namespace

Modules: Template Classes: Archives, Article, Config, Repo, Server, Site

Constant Summary collapse

Paths =
{
  :templates => "templates",
  :pages => "templates/pages",
  :articles => "articles"
}

Class Method Summary collapse

Class Method Details

.envObject



28
29
30
# File 'lib/toto.rb', line 28

def self.env
  ENV['RACK_ENV'] || 'production'
end

.env=(env) ⇒ Object



32
33
34
# File 'lib/toto.rb', line 32

def self.env= env
  ENV['RACK_ENV'] = env
end