Class: Middleman::Ontologist::Options

Inherits:
Object
  • Object
show all
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

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(options={})
  options.each do |k,v|
    self.send(:"#{k}=", v)
  end
end