Module: TotoBongo

Defined in:
lib/toto-bongo.rb

Overview

TotoBongo

TotoBongo Consits of the following

Module TotoBongo

encapsulates the app

Module Template

Handles the conversions to html

Defined Under Namespace

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

Constant Summary collapse

Paths =

default paths

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



44
45
46
# File 'lib/toto-bongo.rb', line 44

def logger
  @logger
end

Class Method Details

.envObject



35
36
37
# File 'lib/toto-bongo.rb', line 35

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

.env=(env) ⇒ Object



39
40
41
# File 'lib/toto-bongo.rb', line 39

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