Sha256: 5b34f03d1aba39d542cd2526e9d2d93259f7823cdc4bafc51823608ac1c57809
Contents?: true
Size: 359 Bytes
Versions: 40
Compression:
Stored size: 359 Bytes
Contents
module Commontator class CommontableConfig Commontator::COMMONTABLE_ATTRIBUTES.each do |attribute| attr_accessor attribute end def initialize(options = {}) Commontator::COMMONTABLE_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