Sha256: d0737fda34d5896c6e10bc91bbe5ecd34f0bc53d0bb6895bd6a66a31da2d55bb

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

module L2meter
  class NullObject
    # Silence forwardable stdlib warnings about forwarding private metods.
    def log(*)
      super
    end

    def method_missing(*)
      yield if block_given?
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
l2meter-0.10.0 lib/l2meter/null_object.rb
l2meter-0.9.1 lib/l2meter/null_object.rb
l2meter-0.9.0 lib/l2meter/null_object.rb
l2meter-0.8.0 lib/l2meter/null_object.rb