Sha256: 66f485497a17c3eab61a25fb41d4703f1506c5969fcef578e3d6dc3fe45285ee
Contents?: true
Size: 360 Bytes
Versions: 12
Compression:
Stored size: 360 Bytes
Contents
require_relative 'config' class Commontator::CommontatorConfig Commontator::Config::COMMONTATOR_ATTRIBUTES.each do |attribute| attr_accessor attribute end def initialize(options = {}) Commontator::Config::COMMONTATOR_ATTRIBUTES.each do |attribute| send "#{attribute}=", options[attribute] || Commontator.send(attribute) end end end
Version data entries
12 entries across 12 versions & 1 rubygems