Sha256: cf1f2aa47600a0472a46456cdd3f0519176b234814686888016ce7b7bd72eb5d

Contents?: true

Size: 439 Bytes

Versions: 23

Compression:

Stored size: 439 Bytes

Contents

require "l2meter/version"

module L2meter
  extend self

  autoload :Configuration, "l2meter/configuration"
  autoload :Emitter,       "l2meter/emitter"
  autoload :NullObject,    "l2meter/null_object"
  autoload :ThreadSafe,    "l2meter/thread_safe"

  def build(configuration: Configuration.new)
    yield configuration if block_given?
    emitter = Emitter.new(configuration: configuration.freeze)
    ThreadSafe.new(emitter)
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
l2meter-0.12.0 lib/l2meter.rb
l2meter-0.11.0 lib/l2meter.rb
l2meter-0.10.0 lib/l2meter.rb
l2meter-0.9.1 lib/l2meter.rb
l2meter-0.9.0 lib/l2meter.rb
l2meter-0.8.0 lib/l2meter.rb
l2meter-0.7.0 lib/l2meter.rb
l2meter-0.6.3 lib/l2meter.rb
l2meter-0.6.2 lib/l2meter.rb
l2meter-0.6.1 lib/l2meter.rb
l2meter-0.6.0 lib/l2meter.rb
l2meter-0.5.1 lib/l2meter.rb
l2meter-0.5.0 lib/l2meter.rb
l2meter-0.4.1 lib/l2meter.rb
l2meter-0.4.0 lib/l2meter.rb
l2meter-0.3.1 lib/l2meter.rb
l2meter-0.3.0 lib/l2meter.rb
l2meter-0.2.4 lib/l2meter.rb
l2meter-0.2.3 lib/l2meter.rb
l2meter-0.2.2 lib/l2meter.rb