Class: Middleman::Ontologist::Options
- Inherits:
-
Object
- Object
- Middleman::Ontologist::Options
- Defined in:
- lib/ontologist/extension.rb
Constant Summary collapse
- KEYS =
[ :uri_tag, :date_tag, :title_tag, :ignore_list, :namespaces, :default_namespace, :aliases, :resource_extension_list, :publish_future_dated, :time_zone, :strict ]
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(options = {}) ⇒ Options
Returns a new instance of Options.
24 25 26 27 28 |
# File 'lib/ontologist/extension.rb', line 24 def initialize(={}) .each do |k,v| self.send(:"#{k}=", v) end end |