From: "chuck sonic" <chuck.sonic@gmail.com>
Date: April 11, 2006 3:34:08 AM CDT
To: submission@rubyquiz.com
Subject: Markov chain solutionI'm still learning Ruby and I'm not a ruby-talk subscriber, but I
wanted to submit
my solution to this latest quiz. My solution uses a helper file I
cobbled together
in part using a code sample I found (and sanity checked) on the web.
This helper adds
a few class methods to Array which make the whole affair very straightforward.If it matters - I didn't have a chance to work on this until tonight
and haven't yet had a chance to see the other solutions...Thanks for organizing ruby quiz - it is an excellent resource!
Chuck
markov.rb (2.38 KB)
arrayextras.rb (2.44 KB)
README (1002 Bytes)
ยทยทยท
Begin forwarded message: