From: Daniel Moore Date: 2009-03-07T01:24:23+09:00 Subject: [QUIZ] Rhyming Words (#195) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this message was sent. 2. Support Ruby Quiz by submitting ideas and responses as often as you can! Visit: 3. Enjoy! Suggestion: A [QUIZ] in the subject of emails about the problem helps everyone on Ruby Talk follow the discussion. Please reply to the original quiz message, if you can. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ## Rhyming Words (#195) Salutations fellow Rubyists, This weeks quiz comes courtesy of Redd Vinylene: > How do I match words that rhyme, like end rhymes, last syllable > rhymes, double rhymes, beginning rhymes and first syllable rhymes? > > Like rhymer.com. I'm looking to improve my freestyle skills :) > > http://www.youtube.com/watch?v=SmqXKbxDoJ0 Your task is to create a Ruby program that when given a word and a type of rhyme (end rhymes, last syllable rhymes, double rhymes, beginning rhymes, first syllable rhymes) returns a list of rhyming words. Have Fun! -- -Daniel http://rubyquiz.strd6.com