Class: Middleman::BlogPage::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/middleman-blog_page/extension_3_0.rb

Constant Summary collapse

KEYS =
[
 :prefix,
 :permalink,
 :sources,
 :layout,
 :default_extension
]

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Options

Returns a new instance of Options.



16
17
18
19
20
# File 'lib/middleman-blog_page/extension_3_0.rb', line 16

def initialize(options={})
  options.each do |k,v|
    self.send(:"#{k}=", v)
  end
end