Tattle aims to be a static code analyzer for Ruby. Use it to inspect your code and find bugs that you may have overlooked.
Add this line to your application's Gemfile:
gem 'tattle'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tattle
Using Tattle is as simple as:
$ tattle my_file.rb
This project is still in its very early stages. It currently only handles straight-line code, conditionals and module, class and method definitions. I am working to add more functionality as quickly as possible. If you encounter a bug with tattle, first consult KNOWN_ISSUES. If it's in there, I am aware of it and I'm working on it (probably right now). If it's not there, check the open issues on the repo, and create a new one if no issue exists for your bug.
After checking out the repo, run bin/setup
to install dependencies. Then, run bin/console
for an interactive prompt that will allow you to experiment.
- Fork it ( https://github.com/ajm188/tattle/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