Hi Dave,
This worked as well. Thanks for your advice & time. Just curious why was it failing without --noreadline? Is there a documentation/url that can explain me that or alternatively if you know the reason, please advice.
Thanks,
Vishal
--- Dave Burt <[EMAIL PROTECTED]> wrote:
From: Dave Burt <[EMAIL PROTECTED]>
Date: Mon, 14 Nov 2005 16:01:46 +1100
To: [email protected]
Subject: Re: [Wtr-general] Big trouble working with Nested While & If loops
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
Join SQAtester.com Community ---> http://www.sqatester.com/testersarea/joinus.htm
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
