CodeStatistics

Quick question: What package/gem installs the CodeStatistics object used in the default Rails Rakefile? Is this part of Rake? Rails? Something else?

Where can I find documentation for this class?

Thanks.

James Edward Gray II

Quick question: What package/gem installs the CodeStatistics object used in the default Rails Rakefile? Is this part of Rake? Rails? Something else?

It resides in Railties. Here's a direct link:
http://dev.rubyonrails.com/file/trunk/railties/lib/code_statistics.rb

···

--
David Heinemeier Hansson,
http://www.basecamphq.com/ -- Web-based Project Management
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://www.loudthinking.com/ -- Broadcasting Brain

Thanks much.

James Edward Gray II

···

On Mar 31, 2005, at 2:41 AM, David Heinemeier Hansson wrote:

Quick question: What package/gem installs the CodeStatistics object used in the default Rails Rakefile? Is this part of Rake? Rails? Something else?

It resides in Railties. Here's a direct link:
http://dev.rubyonrails.com/file/trunk/railties/lib/code_statistics.rb

Quick question: What package/gem installs the CodeStatistics object used in the default Rails Rakefile? Is this part of Rake? Rails? Something else?

It resides in Railties. Here's a direct link:
http://dev.rubyonrails.com/file/trunk/railties/lib/code_statistics.rb

Thanks much.

If you dig into it, I'd love to see it as a generic Rake task. Just like I would love to see Florian Gross' Rubyforge uploader as a Rake task :).

···

--
David Heinemeier Hansson,
http://www.basecamphq.com/ -- Web-based Project Management
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://www.loudthinking.com/ -- Broadcasting Brain