On 6/7/07, dblack / wobblini.net <dblack / wobblini.net> wrote:
> Hi --
>
> On Thu, 7 Jun 2007, Harry Kakueki wrote:
>
> >
> > I may be missing something, but..
> >
> > If you just want to do that then try something like this.
> >
> > arr = []
> > ("a".."ff").each {|x| arr << x}
> > p arr
>
> Work-saving tip for the day:
>
>    p [*"a".."ff"]
>
> :-)
>
>
> David
>
> --
> Q. What is THE Ruby book for Rails developers?
> A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black)
>     (See what readers are saying!  http://www.rubypal.com/r4rrevs.pdf)
> Q. Where can I get Ruby/Rails on-site training, consulting, coaching?
> A. Ruby Power and Light, LLC (http://www.rubypal.com)
>
>
I was going to do this.

p ("a".."ff").each {|x| p x}

But I didn't want it to run off the screen.
But you did the same thing in a better way.
Thanks for the tip.

Harry


-- 

A Look into Japanese Ruby List in English
http://www.kakueki.com/