Skip to content

Instantly share code, notes, and snippets.

@krisleech
Created August 30, 2019 08:38
Show Gist options
  • Select an option

  • Save krisleech/f9876b1f1fddf62d5bc9acdbd24b4d95 to your computer and use it in GitHub Desktop.

Select an option

Save krisleech/f9876b1f1fddf62d5bc9acdbd24b4d95 to your computer and use it in GitHub Desktop.
Ruby Tricks

Merge two hashes with double splat:

{ **{a: 1 }, b: 2 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment