R
Ruby Baby
Made myself a li'l Ruby class for sending email.
But of course I'd like to wrap the outgoing body of text at
68 characters or so, before sending.
Having taken PHP's "wordwrap" function for granted,
(<http://us2.php.net/wordwrap>), I was surprised not to find
a similar method built-in to Ruby.
Or is it?
Did I miss it?
Am I going to have to write my own?
But of course I'd like to wrap the outgoing body of text at
68 characters or so, before sending.
Having taken PHP's "wordwrap" function for granted,
(<http://us2.php.net/wordwrap>), I was surprised not to find
a similar method built-in to Ruby.
Or is it?
Did I miss it?
Am I going to have to write my own?