From: Daniel Moore Date: 2009-05-09T02:20:27+09:00 Subject: [QUIZ] Big Words (#204) --000e0cd28cf021eff8046969d844 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 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. RSS Feed: http://rubyquiz.strd6.com/quizzes.rss -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ## Big Words (#204) Wassup Rubyists, This weeks quiz was submitted by Alan. Write a method that will return a large version of a string you provide it. (Copy the output into a monospaced buffer for better viewing) puts big_word('BIGWORD') ###### ####### ##### # # ##### ###### ###### # # # # # # # # # # # # ###### # # ### # # # # # ###### # # # # # # # # # # # # # # # # ###### ####### ##### ## ## ##### # # ###### For extra credit you may include additional font styles, such as italic. puts big_word('BIGWORD', 'i') ###### ####### ##### # # ##### ###### ###### # # # # # # # # # # # # ###### # # ### # # # # # ###### # # # # # # # # # # # # # # # # ###### ####### ##### ## ## ##### # # ###### Have Fun! -- -Daniel http://rubyquiz.strd6.com --000e0cd28cf021eff8046969d844--