Analyst

Analyst provides a DOM-like interface to abstract syntax trees, allowing querying by type (e.g. method or constant). It is a utility gem used by higher-level libraries such as fukuzatsu and snuffle.

Installation

Add this line to your application's Gemfile:

gem 'analyst'

And then execute:

$ bundle

Or install it yourself as:

$ gem install analyst

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

  1. Fork it ( https://github.com/[my-github-username]/analyst/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request