method

calculate_checksum

Importance_0
v2_5_5 - 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 199
  def calculate_checksum(header)
    header.unpack("C*").inject { |a, b| a + b }
  end
Register or log in to add new notes.