From: Marnen Laibow-Koser Date: 2009-11-19T06:34:38+09:00 Subject: Re: Ruby/tk Help Please Sean Ob wrote: > In fact, I probably wouldn't write it like this. I'd probably do > @list2.collect {|e| e * result}.join "\n" Please learn to quote properly when replying. > does this mean "take each element of @list2 and multiply it by result, > then print the collection and insert a new line between each element but > not on either end" > or does it include the ends? > or am i way off? Why don't you read the docs and find out? > ....experimenting ..... Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.