Class: Synqa::Sha256SumCommand

Inherits:
HashCommand show all
Defined in:
lib/synqa.rb

Overview

Hash command for sha256sum, which generates a 64 hexadecimal digit hash, and outputs two characters between the hash and the file name.

Instance Attribute Summary

Attributes inherited from HashCommand

#command, #length, #spacerLen

Instance Method Summary collapse

Methods inherited from HashCommand

#parseFileHashLine, #to_s

Constructor Details

#initializeSha256SumCommand

Returns a new instance of Sha256SumCommand.



92
93
94
# File 'lib/synqa.rb', line 92

def initialize
  super(["sha256sum"], 64, 2)
end