Sha256: bba64c48a0d117a028aa68dfbe1e8f285bc6f2ddb3d3b1b240630258616ea352
Contents?: true
Size: 370 Bytes
Versions: 2
Compression:
Stored size: 370 Bytes
Contents
module Plotline class Configuration attr_accessor :content_classes def initialize @content_classes = [].freeze end def logger(logger = nil) @logger ||= logger || Logger.new(STDOUT) @logger end end def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plotline-0.1.1 | lib/plotline/configuration.rb |
plotline-0.1.0 | lib/plotline/configuration.rb |