What about using a .rb file and the here operator for the data and
loading or requiring it? Like...
fh = <<EOF
america
american
april
...
EOF
-david
On Oct 4, 2006, at 6:23 PM, Caleb Phillips wrote:
If you are wondering, the data file read in by the simpleword?
method on the first call. It is just a list of (simple) words which
have been "normalized" and are newline separated. Maybe the best
solution is to not have such a data file at all and do something
else - if you have suggestions here, I am equally interested.
_______________________________________________
PDXRuby mailing list
[email protected]
IRC: #pdx.rb on irc.freenode.net
http://lists.pdxruby.org/mailman/listinfo/pdxruby