Sha256: e757ad8897ff7d1d0013b9f260e92cb8f15848b07e5cd5c4c701220c9425a4e0

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

require 'singleton'

module  JuanPelota
  def self.configure
    if block_given?
      yield Configuration.instance
    else
      return Configuration.instance
    end
  end

  class   Configuration
    include Singleton

    attr_accessor :filtered_arguments,
                  :filtered_workers
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
juan_pelota-1.1.0 lib/juan_pelota/configuration.rb
juan_pelota-1.0.0 lib/juan_pelota/configuration.rb
juan_pelota-0.0.4 lib/juan_pelota/configuration.rb
juan_pelota-0.0.3 lib/juan_pelota/configuration.rb