Sha256: 11ce2aed77505daff6435ecf5db692edd180e01cd6cbc4bceb5cc770c8fea112

Contents?: true

Size: 186 Bytes

Versions: 11

Compression:

Stored size: 186 Bytes

Contents

# frozen_string_literal: true

# @api private
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

11 entries across 11 versions & 1 rubygems

Version Path
phlex-1.9.3 lib/phlex/black_hole.rb
phlex-1.7.2 lib/phlex/black_hole.rb
phlex-1.8.3 lib/phlex/black_hole.rb
phlex-1.9.2 lib/phlex/black_hole.rb
phlex-1.7.1 lib/phlex/black_hole.rb
phlex-1.8.2 lib/phlex/black_hole.rb
phlex-1.9.1 lib/phlex/black_hole.rb
phlex-1.9.0 lib/phlex/black_hole.rb
phlex-1.8.1 lib/phlex/black_hole.rb
phlex-1.8.0 lib/phlex/black_hole.rb
phlex-1.7.0 lib/phlex/black_hole.rb