Clifford Heath
11/11/2008 9:57:00 AM
David Trasbo wrote:
> I need the method that has the ability to turn a long string... into a shorter string...
> My problem is that I can't remember what the method is called. I looked
> through the whole Ruby String documentation...
There's no such method in Ruby. You might be thinking of the
truncate method that's part of ActionView's TextHelper module.
Clifford Heath.