Sha256: 82f7576dad3dff1a7bb716ea62d87ed6c61c40901c68ff12b5dd8237dc80dc96

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

module Caco
  class << self
    attr_accessor :config
  end

  def self.configure
    self.config ||= Configuration.new
    yield(config)
  end

  class Configuration
    attr_accessor :root
    attr_accessor :eyaml_parser
    attr_accessor :write_files
    attr_accessor :write_files_root

    def initialize
      @root = 'donotreply@example.com'
      @write_files = true
      @write_files_root = nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
caco-0.1.0 lib/caco/config.rb