Class: Slimdown::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/slimdown/config.rb

Overview

Internal class for managing global configuration.

Only used by singleton Slimdown module.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#locationObject

Get the path to the markdown pages.



8
9
10
# File 'lib/slimdown/config.rb', line 8

def location
  @location
end