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)


1361
# File 'sig/types.rbs', line 1361

def initialize: (?format: String, ?file_count: Integer, ?file_list: Array[String], ?total_size: Integer, ?compressed_size: Integer) -> void

Instance Attribute Details

#compressed_sizeInteger?

Returns the value of attribute compressed_size.

Returns:

  • (Integer, nil)


1359
1360
1361
# File 'sig/types.rbs', line 1359

def compressed_size
  @compressed_size
end

#file_countInteger?

Returns the value of attribute file_count.

Returns:

  • (Integer, nil)


1356
1357
1358
# File 'sig/types.rbs', line 1356

def file_count
  @file_count
end

#file_listArray[String]?

Returns the value of attribute file_list.

Returns:

  • (Array[String], nil)


1357
1358
1359
# File 'sig/types.rbs', line 1357

def file_list
  @file_list
end

#formatString?

Returns the value of attribute format.

Returns:

  • (String, nil)


1355
1356
1357
# File 'sig/types.rbs', line 1355

def format
  @format
end

#total_sizeInteger?

Returns the value of attribute total_size.

Returns:

  • (Integer, nil)


1358
1359
1360
# File 'sig/types.rbs', line 1358

def total_size
  @total_size
end