From: Peter Szinek Date: 2008-11-11T19:04:07+09:00 Subject: Re: What is that method called? I seriously doubt this is part of standard Ruby. You have probably seen this in ActiveSupport and/or the 'english' gem - English::String#brief: http://english.rubyforge.org/rdoc/classes/English/String.html#M000096 Cheers, Peter On 2008.11.11., at 10:16, David Trasbo wrote: > I need the method that has the ability to turn a long string like > this: > > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque > pulvinar turpis a nisi. Cras id elit. Aliquam vitae pede nec lacus > elementum lacinia. Ut aliquam vehicula sem. > > into a shorter string like this: > > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque > pulvinar turpis... > > My problem is that I can't remember what the method is called. I > looked > through the whole Ruby String documentation > (http://ruby-doc.org/core/classes/String.html) but I couldn't find it. > Can anyone remember what it's called? > -- > Posted via http://www.ruby-forum.com/. >