Sha256: ca6337f3ea466953f5c6c7ea2d1926e8e1c00c508b8e38c944024c11ba508636

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

module Rocketman
  def self.configuration
    @_configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration)
  end

  class Configuration
    attr_accessor :worker_count, :latency, :storage, :debug

    def initialize
      @worker_count = 5
      @latency = 3
      @storage= nil
      @debug = false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rocketman-0.3.0 lib/rocketman/config.rb
rocketman-0.2.0 lib/rocketman/config.rb