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