Class: Archive::ChecksumType

Inherits:
Struct
  • Object
show all
Defined in:
lib/archive/fixity.rb

Overview

A Struct to hold properties of a given checksum digest type

Instance Attribute Summary collapse

Instance Attribute Details

#hex_lengthObject

Returns the value of attribute hex_length

Returns:

  • (Object)

    the current value of hex_length



7
8
9
# File 'lib/archive/fixity.rb', line 7

def hex_length
  @hex_length
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



7
8
9
# File 'lib/archive/fixity.rb', line 7

def id
  @id
end

#namesObject

Returns the value of attribute names

Returns:

  • (Object)

    the current value of names



7
8
9
# File 'lib/archive/fixity.rb', line 7

def names
  @names
end