Class: Xberg::ArchiveMetadata
- Inherits:
-
Object
- Object
- Xberg::ArchiveMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#compressed_size ⇒ Integer?
readonly
Returns the value of attribute compressed_size.
-
#file_count ⇒ Integer
readonly
Returns the value of attribute file_count.
-
#file_list ⇒ Array[String]
readonly
Returns the value of attribute file_list.
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#total_size ⇒ Integer
readonly
Returns the value of attribute total_size.
Instance Method Summary collapse
-
#initialize ⇒ ArchiveMetadata
constructor
A new instance of ArchiveMetadata.
Constructor Details
#initialize ⇒ ArchiveMetadata
Returns a new instance of ArchiveMetadata.
34 |
# File 'sig/types.rbs', line 34
def initialize: (?format: String, ?file_count: Integer, ?file_list: Array[String], ?total_size: Integer, ?compressed_size: Integer) -> void
|
Instance Attribute Details
#compressed_size ⇒ Integer? (readonly)
Returns the value of attribute compressed_size.
32 33 34 |
# File 'sig/types.rbs', line 32 def compressed_size @compressed_size end |
#file_count ⇒ Integer (readonly)
Returns the value of attribute file_count.
29 30 31 |
# File 'sig/types.rbs', line 29 def file_count @file_count end |
#file_list ⇒ Array[String] (readonly)
Returns the value of attribute file_list.
30 31 32 |
# File 'sig/types.rbs', line 30 def file_list @file_list end |
#format ⇒ String (readonly)
Returns the value of attribute format.
28 29 30 |
# File 'sig/types.rbs', line 28 def format @format end |
#total_size ⇒ Integer (readonly)
Returns the value of attribute total_size.
31 32 33 |
# File 'sig/types.rbs', line 31 def total_size @total_size end |