Flowdock
method

calc_checksum

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: TarTestCase
calc_checksum(header) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/package/tar_test_case.rb, line 69
  def calc_checksum(header)
    sum = header.unpack("C*").inject{|s,a| s + a}
    SP(Z(to_oct(sum, 6)))
  end
Register or log in to add new notes.