Sha256: 8ad371ada35a8bc3cf6fb9ac2f57a029763b7191e5f224bf2c198d069c4b6f7d

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 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

1 entries across 1 versions & 1 rubygems

Version Path
l2meter-0.13.0 lib/l2meter.rb