Class: Smeagol::Wiki
- Inherits:
-
Gollum::Wiki
- Object
- Gollum::Wiki
- Smeagol::Wiki
- Defined in:
- lib/smeagol/wiki.rb
Overview
TODO:
Techincailly this is probably not needed. Presently it only adds
one methods.
Subclass of Gollum::Wiki.
Instance Method Summary collapse
-
#settings ⇒ Object
The Smeagol wiki settings.
Methods inherited from Gollum::Wiki
Instance Method Details
#settings ⇒ Object
TODO:
Should settings be coming from current file or from repo version?
This can be tricky. Right now they come from current file, but
In future we probably need to split this into two config files.
One that comes from version and one that is current.
TODO:
This might be better in Controller instead.
The Smeagol wiki settings. These can be found in the _settings.yml file at the root of the repository. This method caches the settings for all subsequent calls.
30 31 32 |
# File 'lib/smeagol/wiki.rb', line 30 def settings @settings ||= Settings.load(path) end |