Class: Rant::Archive::Rubyzip::NullCompressor
- Inherits:
-
Compressor
- Object
- Compressor
- Rant::Archive::Rubyzip::NullCompressor
- Includes:
- Singleton
- Defined in:
- lib/rant/archive/rubyzip.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.
763 764 765 |
# File 'lib/rant/archive/rubyzip.rb', line 763 def compressed_size @compressed_size end |
#size ⇒ Object (readonly)
Returns the value of attribute size.
763 764 765 |
# File 'lib/rant/archive/rubyzip.rb', line 763 def size @size end |
Instance Method Details
#<<(data) ⇒ Object
759 760 761 |
# File 'lib/rant/archive/rubyzip.rb', line 759 def << (data) raise IOError, "closed stream" end |