> From: jared l. jennings [mailto:jjenning / stetson.edu]
> 
[snip]
> 
> if you defined a #to_s method instead of #output and made it 
> build up and return a string instead of printf'ing straight 
> to the output, then you could go
> 
>     print st
> 
> It's more idiomatic, and it affords you the ability to print 
> the table to any stream (e.g., myOutFile.print st)

Thanks, I changed it to

        result = ''
        @table.each {|row|
            result << sprintf(fmt, *row)
        }
        result

-- bjorn