lib/rubygems/security/signer.rb
##
# Sign data with given digest algorithm
Sign data with given digest algorithm
Sign data with given digest algorithm
def sign data
    return unless @key
    @key.sign @digest_algorithm.new, data
  end
def sign data return unless @key @key . sign @digest_algorithm . new , data end
Sign data with given digest algorithm
Sign data with given digest algorithm
data