Sha256: fc155774dd7b819e0d6b24bd4977c50c13461b50019cb4c6e32840c79be9bdcb
Contents?: true
Size: 359 Bytes
Versions: 40
Compression:
Stored size: 359 Bytes
Contents
module Commontator class CommontatorConfig Commontator::COMMONTATOR_ATTRIBUTES.each do |attribute| attr_accessor attribute end def initialize(options = {}) Commontator::COMMONTATOR_ATTRIBUTES.each do |attribute| self.send attribute.to_s + '=', options[attribute] || Commontator.send(attribute) end end end end
Version data entries
40 entries across 40 versions & 1 rubygems