Class: Zip::NullCompressor
- Inherits:
-
Compressor
- Object
- Compressor
- Zip::NullCompressor
- Includes:
- Singleton
- Defined in:
- lib/ruby_archive/handlers/rubyzip/zip/zip.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.
1097 1098 1099 |
# File 'lib/ruby_archive/handlers/rubyzip/zip/zip.rb', line 1097 def compressed_size @compressed_size end |
#size ⇒ Object (readonly)
Returns the value of attribute size.
1097 1098 1099 |
# File 'lib/ruby_archive/handlers/rubyzip/zip/zip.rb', line 1097 def size @size end |
Instance Method Details
#<<(data) ⇒ Object
1093 1094 1095 |
# File 'lib/ruby_archive/handlers/rubyzip/zip/zip.rb', line 1093 def << (data) raise IOError, "closed stream" end |