[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Ruby-Reports how to use with Rails

John Lynch

10/24/2006 4:03:00 PM

I am in the process of trying to write some code in ruby that will
take a file as input and parse the file. Particularly I would like to
be able to extract functions from .c and .cpp files and then run metrics
on them. I have just heard about Ruport but I can't find any tutorials
or examples of how to use this utility or install it in rails. Any help
would be appreciated.

--
Posted via http://www.ruby-....

1 Answer

Gregory Brown

10/24/2006 4:41:00 PM

0

John Lynch wrote:
> I am in the process of trying to write some code in ruby that will
> take a file as input and parse the file. Particularly I would like to
> be able to extract functions from .c and .cpp files and then run metrics
> on them. I have just heard about Ruport but I can't find any tutorials
> or examples of how to use this utility or install it in rails. Any help
> would be appreciated.

Hi John. It's great to hear you are trying out Ruport! Hopefully it
will be helpful to you.
We don't have parsing stuff built into Ruport just yet, but as far as
running metrics and displaying them, we may be able to help you there.

We usually hold all our discussions on the Ruport mailing list. You
can sign up here:
http://rubyu...

Please repost there this message along with some details of the types
of metrics you would like to run and also what the parsed data will end
up looking like.

As far as acts_as_reportable goes, it's really quite basic so far, but
also pretty easy to use to get going with Ruport. If you post on the
mailing list, Dudley will be sure to get you going with how to install
it. The bare minimum install instructions are here, though:
http://rubyu...

Hope to see you on the list and hope you find Ruport helpful!

-Greg