Sha256: 34e37bce7df9d2ccaf3d5397b66439aecd6bf9ceb7101d1a63de1e6c05259343

Contents?: true

Size: 171 Bytes

Versions: 7

Compression:

Stored size: 171 Bytes

Contents

# frozen_string_literal: true

module Phlex::BlackHole
	extend self

	def <<(anything)
		self
	end

	def length
		0
	end

	def dup
		self
	end

	def clear
		self
	end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phlex-1.5.3 lib/phlex/black_hole.rb
phlex-1.6.3 lib/phlex/black_hole.rb
phlex-1.5.2 lib/phlex/black_hole.rb
phlex-1.6.2 lib/phlex/black_hole.rb
phlex-1.6.1 lib/phlex/black_hole.rb
phlex-1.6.0 lib/phlex/black_hole.rb
phlex-1.5.1 lib/phlex/black_hole.rb