[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Pretty tables CLI scripts

toulax@gmail.com

3/25/2007 7:53:00 AM

Does anyone know of any library or anything that can be used to
display data on those neat tables on a CLI script? Sort of how MySQL
or the Rails benchmarking scripts do, how can I do that?

Thanks

2 Answers

Gregory Brown

3/25/2007 3:05:00 PM

0

On 3/25/07, toulax@gmail.com <toulax@gmail.com> wrote:
> Does anyone know of any library or anything that can be used to
> display data on those neat tables on a CLI script? Sort of how MySQL
> or the Rails benchmarking scripts do, how can I do that?

Ruport's output is fairly nice:
http://pastie.cabo...

See the API documentation for Data::Table
http://api.rubyr...

and bug us if you have any questions.
http://list.rubyr...

Please use the above list (just a google group), rather than RubyTalk
as I'm not always monitoring RubyTalk.

-greg

toulax@gmail.com

3/25/2007 8:47:00 PM

0

On Mar 25, 12:05 pm, "Gregory Brown" <gregory.t.br...@gmail.com>
wrote:
> On 3/25/07, tou...@gmail.com <tou...@gmail.com> wrote:
>
> > Does anyone know of any library or anything that can be used to
> > display data on those neat tables on a CLI script? Sort of how MySQL
> > or the Rails benchmarking scripts do, how can I do that?
>
> Ruport's output is fairly nice:http://pastie.cabo...
>
> See the API documentation for Data::Tablehttp://api.rubyr...
>
> and bug us if you have any questions.http://list.rubyr...
>
> Please use the above list (just a google group), rather than RubyTalk
> as I'm not always monitoring RubyTalk.
>
> -greg

That's exactly what I need, I'll give it a try. Thanks!