Sha256: 67e84808ef27f28918af49ad1c63a82879edece564cff28ae1822f82e612658a
Contents?: true
Size: 360 Bytes
Versions: 16
Compression:
Stored size: 360 Bytes
Contents
module Commontator class CommontatorConfig Commontator::COMMONTATOR_ATTRIBUTES.each do |attribute| cattr_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
16 entries across 16 versions & 1 rubygems