Class: Xberg::ArchiveMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeArchiveMetadata

Returns a new instance of ArchiveMetadata.

Parameters:

  • format: (String)
  • file_count: (Integer)
  • file_list: (Array[String])
  • total_size: (Integer)
  • compressed_size: (Integer)


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_sizeInteger? (readonly)

Returns the value of attribute compressed_size.

Returns:

  • (Integer, nil)


32
33
34
# File 'sig/types.rbs', line 32

def compressed_size
  @compressed_size
end

#file_countInteger (readonly)

Returns the value of attribute file_count.

Returns:

  • (Integer)


29
30
31
# File 'sig/types.rbs', line 29

def file_count
  @file_count
end

#file_listArray[String] (readonly)

Returns the value of attribute file_list.

Returns:

  • (Array[String])


30
31
32
# File 'sig/types.rbs', line 30

def file_list
  @file_list
end

#formatString (readonly)

Returns the value of attribute format.

Returns:

  • (String)


28
29
30
# File 'sig/types.rbs', line 28

def format
  @format
end

#total_sizeInteger (readonly)

Returns the value of attribute total_size.

Returns:

  • (Integer)


31
32
33
# File 'sig/types.rbs', line 31

def total_size
  @total_size
end