Class: Synqa::Sha256Command
- Inherits:
-
HashCommand
- Object
- HashCommand
- Synqa::Sha256Command
- Defined in:
- lib/synqa.rb
Overview
Hash command for sha256, which generates a 64 hexadecimal digit hash, and outputs one character between the hash and the file name, and which requires a “-r” argument to put the hash value first.
Instance Attribute Summary
Attributes inherited from HashCommand
Instance Method Summary collapse
-
#initialize ⇒ Sha256Command
constructor
A new instance of Sha256Command.
Methods inherited from HashCommand
Constructor Details
#initialize ⇒ Sha256Command
Returns a new instance of Sha256Command.
100 101 102 |
# File 'lib/synqa.rb', line 100 def initialize super(["sha256", "-r"], 64, 1) end |