Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 868 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 868 Bytes

RuboCop AST

Gem Version CircleCI

Contains the classes needed by RuboCop to deal with Ruby's AST, in particular:

  • RuboCop::AST::Node
  • RuboCop::NodePattern

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::NodePattern

Contributing

Checkout the contribution guidelines.

License

rubocop-ast is MIT licensed. See the accompanying file for the full text.