lib/store/digest/object.rb
# Return a particular digest. Returns nil if there is no match.
# @param symbol [Symbol, #to_s, #to_sym] the digest
# @return [Symbol, nil]
Return a particular digest. Returns nil if there is no match.
Return a particular digest . Returns nil if there is no match .
def digest symbol
    raise ArgumentError, "This method takes a symbol" unless
      symbol.respond_to? :to_sym
    digests[symbol.to_sym]
  end
def digest symbol raise ArgumentError , "This method takes a symbol" unless symbol . respond_to? :to_sym digests [ symbol . to_sym ] end
Return a particular digest.
Return a particular digest .
None
Symbol, nil
symbol
None