On 11/15/06, Ben Thomas <user / example.com> wrote:
> Hi, how do I go about fully justifying/center justifying output text in
> ruby?
>
> I'm guessing I have to use sprintf but I can't seem to get it working
> properly, not sure of the correct "%" characters (don't know the proper
> name for them).

Check out Text::Format. It will even work with Text::Hyphen to
properly hyphenate your text.

  http://rubyforge.org/projects/text-format/

I think that's right. Like my own home number, I don't tend to visit
my own project pages that often. ;)

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca