Sha256: ba5ca3fa5b29eb23a75d39f7c589ff011a6888be548b876dbf3dbeecea7a0c2b

Contents?: true

Size: 316 Bytes

Versions: 8

Compression:

Stored size: 316 Bytes

Contents

require "l2meter/version"

module L2meter
  extend self

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

  def build
    Emitter.new.tap do |emitter|
      yield emitter.configuration if block_given?
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
l2meter-0.0.9 lib/l2meter.rb
l2meter-0.0.8 lib/l2meter.rb
l2meter-0.0.7 lib/l2meter.rb
l2meter-0.0.6 lib/l2meter.rb
l2meter-0.0.5 lib/l2meter.rb
l2meter-0.0.4 lib/l2meter.rb
l2meter-0.0.3 lib/l2meter.rb
l2meter-0.0.2 lib/l2meter.rb