rubocop
https://github.com/bbatsov/rubocop
Ruby
A Ruby static code analyzer, based on the community Ruby style guide.
RuboCop::ResultCache#relevant_options_digest
Return a hash of the options given at invocation, minus the ones that have no effect on which offenses and disabled line ranges are found, and thus don't affect caching.
Edit
git clone [email protected]:bbatsov/rubocop.git
cd rubocop
open lib/rubocop/result_cache.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-RuboCop--ResultCache-relevant_options_digest-for-pr
# Commit to gitgit add lib/rubocop/result_cache.rbgit commit -m "better docs for RuboCop::ResultCache#relevant_options_digest"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-RuboCop--ResultCache-relevant_options_digest-for-pr
hub pull-request
# Celebrate!