Class: Slimdown::Config
- Inherits:
-
Object
- Object
- Slimdown::Config
- Defined in:
- lib/slimdown/config.rb
Overview
Internal class for managing global configuration.
Only used by singleton Slimdown module.
Instance Attribute Summary collapse
-
#location ⇒ Object
Get the path to the markdown pages.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
10 11 12 13 |
# File 'lib/slimdown/config.rb', line 10 def initialize # Set defaults. @location = 'pages/' end |
Instance Attribute Details
#location ⇒ Object
Get the path to the markdown pages.
8 9 10 |
# File 'lib/slimdown/config.rb', line 8 def location @location end |