Sha256: 1f7d25a1e5bf83675e8e51318cbdf886b6463379288555cb707669c351ca34c6
Contents?: true
Size: 361 Bytes
Versions: 4
Compression:
Stored size: 361 Bytes
Contents
module Commontator class CommontableConfig Commontator::COMMONTABLE_ATTRIBUTES.each do |attribute| cattr_accessor attribute end def initialize(options = {}) Commontator::COMMONTABLE_CONFIG.keys.each do |attribute| self.send attribute.to_s + '=', options[attribute] || Commontator.send(attribute) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems