Module: Phlex::BlackHole Private

Extended by:
BlackHole
Included in:
BlackHole
Defined in:
lib/phlex/black_hole.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#<<(anything) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



7
8
9
# File 'lib/phlex/black_hole.rb', line 7

def <<(anything)
  self
end

#bytesizeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
# File 'lib/phlex/black_hole.rb', line 11

def bytesize
  0
end

#clearObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



19
20
21
# File 'lib/phlex/black_hole.rb', line 19

def clear
  self
end

#dupObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



15
16
17
# File 'lib/phlex/black_hole.rb', line 15

def dup
  self
end