On Apr 1, 2006, at 11:20 AM, Benjohn Barnes wrote:

> => 'tomato, cheese, ham and pineapple'
>
> Is something I'd like to be able to do, and I almost thought it's  
> be part of the standard. Is there already a standard way of getting  
> that (facets, perhaps?)? Any chance it'll make it in to the  
> standard Enumerable?

 >> list = %w{tomato cheese ham pineapple}
=> ["tomato", "cheese", "ham", "pineapple"]
 >> [list[0..-2].join(", "), list[-1]].join(", and ")
=> "tomato, cheese, ham, and pineapple"

Hope that helps.

James Edward Gray II