class SymbolHash

def update(hash) hash.each {|k, v| self[k] = v }; self end

Returns:
  • (SymbolHash) - self

Parameters:
  • hash (Hash) -- the hash object to copy the values from
def update(hash) hash.each {|k, v| self[k] = v }; self end