global

def ruby2_keywords_hash(hash)

Duplicates a given hash and returns the new hash.

Hash.ruby2_keywords_hash(hash) -> new_hash
call-seq:
def ruby2_keywords_hash(hash)
  hash.dup
end