ClassStat
Collect statistics about Class and Modules.
Installation
Add this line to your application's Gemfile:
gem 'class_stat'
And then execute:
$ bundle
Or install it yourself as:
$ gem install class_stat
Usage
Please add this line into your application.
require 'class_stat/setup'
And you will have a statistics result at the end of application.
All of result puts on STDOUT. If you want to store it into a file, then use 'CLASS_STAT_FILE' environment variable.
$ CLASS_STAT_FILE=/tmp/class_stat_result ruby ...
Please send your result to Koichi Sasada [email protected]. This information will help me to improve MRI.
Contributing
- Fork it ( https://github.com/[my-github-username]/class_stat/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request