method

calculate_checksum

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: TarHeader
calculate_checksum(header) private

No documentation

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

Hide source
# File lib/rubygems/package/tar_header.rb, line 193
  def calculate_checksum(header)
    header.unpack("C*").inject { |a, b| a + b }
  end
Register or log in to add new notes.