Class: Zip::NullDecompressor

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/zip/null_decompressor.rb

Overview

:nodoc:all

Direct Known Subclasses

NullInputStream

Instance Method Summary collapse

Instance Method Details

#eofObject Also known as: eof?



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

def eof
  true
end

#input_finished?Boolean

Returns:

  • (Boolean)


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

def input_finished?
  true
end

#produce_inputObject



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

def produce_input
  nil
end

#sysread(numberOfBytes = nil, buf = nil) ⇒ Object



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

def sysread(numberOfBytes = nil, buf = nil)
  nil
end