Class: Commontator::CommontatorConfig
- Inherits:
-
Object
- Object
- Commontator::CommontatorConfig
- Defined in:
- lib/commontator/commontator_config.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ CommontatorConfig
constructor
A new instance of CommontatorConfig.
Constructor Details
#initialize(options = {}) ⇒ CommontatorConfig
Returns a new instance of CommontatorConfig.
8 9 10 11 12 |
# File 'lib/commontator/commontator_config.rb', line 8 def initialize( = {}) Commontator::Config::COMMONTATOR_ATTRIBUTES.each do |attribute| send "#{attribute}=", [attribute] || Commontator.send(attribute) end end |