Subject: Re: what's the Ruby way to do this?
From: Douglas Livingstone <rampant gmail.com>
Date: Sat, 8 Jan 2005 04:11:51 +0900
References: 125142125285125461
In-reply-to: 125461
> > def snippet(thought)
> > thought.split[0..9].join(" ") + "..."
> > end
>
> is more the "Ruby Way"
>
Shorter too.