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