Module: Toto

Defined in:
lib/toto-haml.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



22
23
24
# File 'lib/toto-haml.rb', line 22

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

.env=(env) ⇒ Object



26
27
28
# File 'lib/toto-haml.rb', line 26

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