Sha256: 7518894acfebaa4934489efd0adb978c1ab71bdec4e0227ba69b817e38c8ffd2

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

require "l2meter/version"

module L2meter
  extend self

  autoload :Configuration, "l2meter/configuration"
  autoload :Emitter, "l2meter/emitter"
  autoload :NullOutput, "l2meter/null_output"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
l2meter-0.15.1 lib/l2meter.rb
l2meter-0.15.0 lib/l2meter.rb
l2meter-0.14.0 lib/l2meter.rb