Class: Rblosxom::Base

Inherits:
Sinatra::Base
  • Object
show all
Includes:
Helpers
Defined in:
lib/rblosxom/base.rb

Constant Summary collapse

CONFIG =
YAML.load(<<-END)
title: Rblosxom
slogan: a blosxom program.
keywords: ruby, blosxom.
description: Rblosxom is a blosxom program.
language: en
datadir: ./data
url: http://rblosxom.heroku.com/
depth: 0
num_entries: 40
default_flavour: html
show_future_entries: 0
theme: default
copyright: Rblosxom
END

Class Attribute Summary collapse

Method Summary

Methods included from Helpers

#archive_list, #category_list, #set_common_variables

Class Attribute Details

.configObject (readonly)

Returns the value of attribute config.



90
91
92
# File 'lib/rblosxom/base.rb', line 90

def config
  @config
end

.config_fileObject

Returns the value of attribute config_file.



87
88
89
# File 'lib/rblosxom/base.rb', line 87

def config_file
  @config_file
end

.log_fileObject

Returns the value of attribute log_file.



88
89
90
# File 'lib/rblosxom/base.rb', line 88

def log_file
  @log_file
end

.log_levelObject

Returns the value of attribute log_level.



89
90
91
# File 'lib/rblosxom/base.rb', line 89

def log_level
  @log_level
end