Diego Cano Lagneaux
3/5/2006 3:36:00 PM
> I have a custom file filled with a word list. How do call it in my main
> program.
> I have tried "require wordlist" but ruby can't find the file
> In C/C++ I would have used Include<wordlist.h> or for python I would
> have used "import wordlist" so long as the wordlist was placed in the
> same directory I am good. So how do I do this using ruby
>
Call the file wordlist.rb, then require it like this:
require "wordlist"
elKano