Module beautiful

Theme library

Authors:

Damien Leone <damien.leone@gmail.com>
Julien Danjou <julien@danjou.info>

Copyright© 2008 Damien Leone, Julien Danjou

Release: v3.1.2

Functions

__index (self, key) Get a value directly.
get () Get the current theme.
init (path) Init function, should be runned at the beginning of configuration file.
split_line (line) Split line in two if it contains the '=' character.


Functions

__index (self, key)
Get a value directly.

Parameters

  • self:
  • key: The key.

Return value:

The value.
get ()
Get the current theme.

Return value:

The current theme table.
init (path)
Init function, should be runned at the beginning of configuration file.

Parameters

  • path: The theme file path.
split_line (line)
Split line in two if it contains the '=' character.

Parameters

  • line: The line to split.

Return value:

nil if the '=' character is not in the string

Valid XHTML 1.0!