class Gem::Tasks::Sign::Checksum

def initialize(options={})

Options Hash: (**options)
  • :sha512 (Boolean) --
  • :sha2 (Boolean) --
  • :sha1 (Boolean) --
  • :md5 (Boolean) --

Parameters:
  • options (Hash) --
def initialize(options={})
  super()
  @md5    = options.fetch(:md5,   true)
  @sha1   = options.fetch(:sha1,  true)
  @sha2   = options.fetch(:sha2,  false)
  @sha512 = options.fetch(:sha512,false)
  yield self if block_given?
  define
end