Class: Middleman::BlogPage::Options
- Inherits:
-
Object
- Object
- Middleman::BlogPage::Options
- Defined in:
- lib/middleman-blog_page/extension_3_0.rb
Constant Summary collapse
- KEYS =
[ :prefix, :permalink, :sources, :layout, :default_extension ]
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Options
constructor
A new instance of Options.
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(={}) .each do |k,v| self.send(:"#{k}=", v) end end |