Ruby Style Guide
Installation
Run:
bundle add google-style --group development,testOr, add this line to your Gemfile:
group :test, :development do
gem 'google-style'
endUsage
Add the following to the top of your .rubocop.yml:
inherit_gem:
google-style:
- rubocop.ymlAnd run:
bundle exec rubocopContributing
Contributions to this library are always welcome and highly encouraged.
See the Contributing
Guide
for more information on how to get started.
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. See the Code of
Conduct
for more information.
License
This library is licensed under Apache 2.0. Full license text is available in
LICENSE.
Supported Ruby Versions
These libraries are currently supported on Ruby 2.3+.
Google provides official support for Ruby versions that are actively supported
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
in security maintenance, and not end of life. Currently, this means Ruby 2.3
and later. Older versions of Ruby may still work, but are unsupported and not
recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
about the Ruby support schedule.