Hi,

Vishal wrote:
>
>
> Hi,
>
> I am getting a wierd error, whenever I have a nested loop, I have checked
> the length of array data its 1. The error read as below:
>
> irb(main):208:0> while rec_ctr < data.length
> irb(main):209:1>
> Display all 375 possibilities? (y or n)
> ==                             cwws
> ===                            d
> =~                             data
> ARGF                           def

When you're in IRB with the Readline extension, pressing the Tab key
will trigger auto-completion. If you paste code with tabs into an IRB
session in a command window, the same.  One tab at the start of a line
will ask before listing "all 375 possibilities" (Object and Kernel
methods); two tabs will list those methods.

Try starting irb with the --noreadline parameter:

% irb --noreadline

Cheers,
Dave

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to