Class: Archive::ChecksumType
- Inherits:
-
Struct
- Object
- Struct
- Archive::ChecksumType
- Defined in:
- lib/archive/fixity.rb
Overview
A Struct to hold properties of a given checksum digest type
Instance Attribute Summary collapse
-
#hex_length ⇒ Object
Returns the value of attribute hex_length.
-
#id ⇒ Object
Returns the value of attribute id.
-
#names ⇒ Object
Returns the value of attribute names.
Instance Attribute Details
#hex_length ⇒ Object
Returns the value of attribute hex_length
7 8 9 |
# File 'lib/archive/fixity.rb', line 7 def hex_length @hex_length end |
#id ⇒ Object
Returns the value of attribute id
7 8 9 |
# File 'lib/archive/fixity.rb', line 7 def id @id end |
#names ⇒ Object
Returns the value of attribute names
7 8 9 |
# File 'lib/archive/fixity.rb', line 7 def names @names end |