Sha256: 312ce2c9ead51045f932aea65f894e8a73e8eef5fd9183eb218ecd30dd0c3a5d

Contents?: true

Size: 345 Bytes

Versions: 20

Compression:

Stored size: 345 Bytes

Contents

module Lumberg
  # Holds the configuration for Lumberg
  class Config
    attr_accessor :options

    def initialize
      @options = {}
    end

    def [](v)
      @options[v]
    end

    # Debug output.  value can be either true to output to $stderr or a path to a file
    def debug(output)
      @options[:debug] = output
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
lumberg-4.1.0 lib/lumberg/config.rb
lumberg-4.0.0 lib/lumberg/config.rb
lumberg-3.1.0 lib/lumberg/config.rb
lumberg-3.0.0 lib/lumberg/config.rb
lumberg-2.0.1 lib/lumberg/config.rb
lumberg-2.0.0 lib/lumberg/config.rb
lumberg-2.0.0.pre20 lib/lumberg/config.rb
lumberg-2.0.0.pre18 lib/lumberg/config.rb
lumberg-2.0.0.pre15 lib/lumberg/config.rb
lumberg-2.0.0.pre12 lib/lumberg/config.rb
lumberg-2.0.0.pre9 lib/lumberg/config.rb
lumberg-2.0.0.pre8 lib/lumberg/config.rb
lumberg-2.0.0.pre7 lib/lumberg/config.rb
lumberg-2.0.0.pre6 lib/lumberg/config.rb
lumberg-2.0.0.pre5 lib/lumberg/config.rb
lumberg-2.0.0.pre4 lib/lumberg/config.rb
lumberg-2.0.0.pre3 lib/lumberg/config.rb
lumberg-1.1.1 lib/lumberg/config.rb
lumberg-1.0.6 lib/lumberg/config.rb
lumberg-1.0.3 lib/lumberg/config.rb