Class: Zip::NullCompressor
- Inherits:
-
Compressor
- Object
- Compressor
- Zip::NullCompressor
- Includes:
- Singleton
- Defined in:
- lib/zip/null_compressor.rb
Overview
:nodoc:all
Instance Attribute Summary collapse
-
#compressed_size ⇒ Object
readonly
Returns the value of attribute compressed_size.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
Methods inherited from Compressor
Instance Attribute Details
#compressed_size ⇒ Object (readonly)
Returns the value of attribute compressed_size.
9 10 11 |
# File 'lib/zip/null_compressor.rb', line 9 def compressed_size @compressed_size end |
#size ⇒ Object (readonly)
Returns the value of attribute size.
9 10 11 |
# File 'lib/zip/null_compressor.rb', line 9 def size @size end |
Instance Method Details
#<<(_data) ⇒ Object
5 6 7 |
# File 'lib/zip/null_compressor.rb', line 5 def <<(_data) raise IOError, 'closed stream' end |