Class: TreeHaver::ZipArchiveInfo
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::ZipArchiveInfo
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#central_directory_range ⇒ Object
Returns the value of attribute central_directory_range.
-
#entry_count ⇒ Object
Returns the value of attribute entry_count.
-
#format ⇒ Object
Returns the value of attribute format.
-
#schema ⇒ Object
Returns the value of attribute schema.
Instance Method Summary collapse
Instance Attribute Details
#central_directory_range ⇒ Object
Returns the value of attribute central_directory_range
256 257 258 |
# File 'lib/tree_haver/contracts.rb', line 256 def central_directory_range @central_directory_range end |
#entry_count ⇒ Object
Returns the value of attribute entry_count
256 257 258 |
# File 'lib/tree_haver/contracts.rb', line 256 def entry_count @entry_count end |
#format ⇒ Object
Returns the value of attribute format
256 257 258 |
# File 'lib/tree_haver/contracts.rb', line 256 def format @format end |
#schema ⇒ Object
Returns the value of attribute schema
256 257 258 |
# File 'lib/tree_haver/contracts.rb', line 256 def schema @schema end |
Instance Method Details
#to_h ⇒ Object
257 258 259 260 261 262 263 264 |
# File 'lib/tree_haver/contracts.rb', line 257 def to_h { format: format, schema: schema, entry_count: entry_count, central_directory_range: central_directory_range.to_h } end |