RuboCop AST
Contains the classes needed by RuboCop to deal with Ruby's AST, in particular:
RuboCop::AST::Node
RuboCop::AST::NodePattern
(doc)
This gem may be used independently from the main RuboCop gem.
Installation
Just install the rubocop-ast
gem
gem install rubocop-ast
or if you use bundler put this in your Gemfile
gem 'rubocop-ast'
Usage
Refer to the documentation of RuboCop::AST::Node
and RuboCop::AST::NodePattern
Contributing
Checkout the contribution guidelines.
License
rubocop-ast
is MIT licensed. See the accompanying file for
the full text.