Class: TreeHaver::ZipArchiveEntry
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::ZipArchiveEntry
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#central_directory_range ⇒ Object
Returns the value of attribute central_directory_range.
-
#compressed_size ⇒ Object
Returns the value of attribute compressed_size.
-
#compression ⇒ Object
Returns the value of attribute compression.
-
#crc32 ⇒ Object
Returns the value of attribute crc32.
-
#data_range ⇒ Object
Returns the value of attribute data_range.
-
#directory ⇒ Object
Returns the value of attribute directory.
-
#local_header_range ⇒ Object
Returns the value of attribute local_header_range.
-
#normalized_path ⇒ Object
Returns the value of attribute normalized_path.
-
#path ⇒ Object
Returns the value of attribute path.
-
#uncompressed_size ⇒ Object
Returns the value of attribute uncompressed_size.
Instance Method Summary collapse
Instance Attribute Details
#central_directory_range ⇒ Object
Returns the value of attribute central_directory_range
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def central_directory_range @central_directory_range end |
#compressed_size ⇒ Object
Returns the value of attribute compressed_size
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def compressed_size @compressed_size end |
#compression ⇒ Object
Returns the value of attribute compression
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def compression @compression end |
#crc32 ⇒ Object
Returns the value of attribute crc32
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def crc32 @crc32 end |
#data_range ⇒ Object
Returns the value of attribute data_range
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def data_range @data_range end |
#directory ⇒ Object
Returns the value of attribute directory
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def directory @directory end |
#local_header_range ⇒ Object
Returns the value of attribute local_header_range
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def local_header_range @local_header_range end |
#normalized_path ⇒ Object
Returns the value of attribute normalized_path
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def normalized_path @normalized_path end |
#path ⇒ Object
Returns the value of attribute path
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def path @path end |
#uncompressed_size ⇒ Object
Returns the value of attribute uncompressed_size
872 873 874 |
# File 'lib/tree_haver/contracts.rb', line 872 def uncompressed_size @uncompressed_size end |
Instance Method Details
#to_h ⇒ Object
874 875 876 877 878 879 880 881 882 883 884 885 886 887 |
# File 'lib/tree_haver/contracts.rb', line 874 def to_h { path: path, normalized_path: normalized_path, directory: directory, compression: compression, compressed_size: compressed_size, uncompressed_size: uncompressed_size, crc32: crc32, local_header_range: local_header_range.to_h, data_range: data_range.to_h, central_directory_range: central_directory_range.to_h } end |