Module: Zip::NullDecompressor

Included in:
NullInputStream
Defined in:
lib/zip/null_decompressor.rb

Overview

:nodoc:all

Class Method Summary collapse

Class Method Details

.eofObject Also known as: eof?


17
18
19
# File 'lib/zip/null_decompressor.rb', line 17

def eof
  true
end

.input_finished?Boolean

Returns:

  • (Boolean)

13
14
15
# File 'lib/zip/null_decompressor.rb', line 13

def input_finished?
  true
end

.produce_inputObject


9
10
11
# File 'lib/zip/null_decompressor.rb', line 9

def produce_input
  nil
end

.sysread(_numberOfBytes = nil, _buf = nil) ⇒ Object


5
6
7
# File 'lib/zip/null_decompressor.rb', line 5

def sysread(_numberOfBytes = nil, _buf = nil)
  nil
end