Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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