Skip to content

Instantly share code, notes, and snippets.

@Rodel30
Created August 12, 2016 14:35
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 Rodel30/257fe1048675335c4029ad32b07621d8 to your computer and use it in GitHub Desktop.
Save Rodel30/257fe1048675335c4029ad32b07621d8 to your computer and use it in GitHub Desktop.
A simple solution to the code quiz, via Ruby
%w(a at cat scat catch).detect{|w| w =~ /.+at/ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment