Skip to content

Instantly share code, notes, and snippets.

@coderdan
Last active November 25, 2019 02:00
Show Gist options
  • Save coderdan/69758479a0d6bd322e1e38064aaa906c to your computer and use it in GitHub Desktop.
Save coderdan/69758479a0d6bd322e1e38064aaa906c to your computer and use it in GitHub Desktop.
["Crocodile", "Giraffe", "Lion", "Tiger"].map { |word|
word.capitalize
}.sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment