Class: ChecksummerThor
- Inherits:
-
Thor
- Object
- Thor
- ChecksummerThor
- Defined in:
- bin/checksummer2
Instance Method Summary collapse
Instance Method Details
#checksum ⇒ Object
11 12 13 14 15 16 |
# File 'bin/checksummer2', line 11 def checksum if !File.exists?(.dst) puts "ERROR: #{.dst} does not exist!" end Checksummer.new(.dst, :replace => [:replace], :sleep => .sleep).checksum_stream($stdin.readlines) end |