On Mon, Jan 31, 2011 at 7:31 PM, Philip Hallstrom <[email protected]> wrote:
> ruby-1.8.7-p330 :007 > "one two three".truncate(7) > => "one ..." > > In my opinion, that space shouldn't be there. > Anyone have any thoughts on the matter? I can imagine circumstances involving fixed-width fonts where having an unpredictable number of characters left would be bad, and at the very least a POLS violation. And personally, the space being included doesn't bother me. :-) FWIW! -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

