From: "Mikael Høilund" Date: 2008-04-26T05:54:07+09:00 Subject: Re: How to return more than one object to a block On Apr 25, 2008, at 20:43, Ivan V. wrote: > Here's a more clean explanation: > > def dothis > yield > end > > x = dothis() { > 'this' > 'that' > } > > How do I make 'x' be an array holding both the strings. Of course I > can > just make those strings into an array, but I want to do it from the > dothis method. x = dothis() { ['this', 'that'] } should do it.