From: Gregory Brown Date: 2006-10-25T01:45:12+09:00 Subject: Re: Ruby-Reports how to use with Rails 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://rubyurl.com/oMY 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://rubyurl.com/Jyg Hope to see you on the list and hope you find Ruport helpful! -Greg