--0-1702192112-11724162000903
Content-Type: text/plain; charset=ascii

Sorry to not respond to the original message.  

I am new to Ruby and just joined Ruby-Talk today.

Attached is my solution to Quiz #115.  
 
If you cannot read attachments for some reason, see

  http://brianhammond.com/ruby-quiz/115.rb

Ruby is so much fun.

-Brian







 
____________________________________________________________________________________
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote
il
--0-1702192112-11724162000903
Content-Type: application/octet-stream; name=UNKNOWN_PARAMETER_VALUE
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="=?utf-8?q?ruby-quiz-115-bhammond.rb?="

IyEvdXNyL2Jpbi9lbnYgcnVieQoKIyA9IFNvbHV0aW9uIGZvciBSdWJ5IFF1
aXogIzExNQojID09IFVzYWdlIAojIHF1aXoxMTUucmIgPG1zZyAjPiBbPG91
dHB1dCBkaXI+XSBbPG1haWxpbmcgbGlzdD4gPSB7Y29yZSwgdGFsa31dCiMg
PT0gTGlzdHMKIyBTdXBwb3J0cyBydWJ5LXRhbGsgYW5kIHJ1YnktY29yZS4K
IyA9PSBBdXRob3IKIyBCcmlhbiBIYW1tb25kIDxicmlhbitydWJ5IGF0IGJy
aWFuaGFtbW9uZC5jb20+CgpjbGFzcyBTdHJpbmcKICBkZWYgZGVjb2RlX3F1
b3RlZF9wcmludGFibGUhCiAgICBnc3ViISgvPSR8XG4vLCAnJykKICAgIGdz
dWIhKC89KFswLTlhLWZBLUZdezJ9KT8vKSBkbyAkMS5uaWw/ID8gJycgOiAk
MS5oZXguY2hyIGVuZAogICAgZ3N1YiEoL1xyXG4vLCAiXG4iKQogIGVuZApl
bmQKCiV3KHJkb2MvdXNhZ2Ugb3Blbi11cmkgY2dpIGJhc2U2NCkuZWFjaCBk
byB8ZnwgcmVxdWlyZSBmIGVuZAoKaWQsIHBhdGgsIG1haWxpbmdfbGlzdCA9
IEFSR1ZbMC4uMl0KUkRvYzo6dXNhZ2UoJ1VzYWdlJykgdW5sZXNzIC9cZ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