Skip to content

Instantly share code, notes, and snippets.

@Rodel30
Created August 12, 2016 14:35
Show Gist options
  • Select an option

  • Save Rodel30/257fe1048675335c4029ad32b07621d8 to your computer and use it in GitHub Desktop.

Select an option

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