Skip to content

Instantly share code, notes, and snippets.

@xander-miller
Created October 29, 2014 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xander-miller/a198f437e5b1b2367db4 to your computer and use it in GitHub Desktop.
Save xander-miller/a198f437e5b1b2367db4 to your computer and use it in GitHub Desktop.
def merge_us(hash1, hash2)
hash1.merge(hash2)
end
def my_keys(hash)
hash.keys
end
def do_i_have?(h ={},keys)
h.keys.sort == keys.sort
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment