brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

RuboCop::Cop::Rails::RelativeDateConstant#relative_date_method?

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-rails-2.10.1/lib/rubocop/cop/rails/relative_date_constant.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RuboCop--Cop--Rails--RelativeDateConstant-relative_date_method--for-pr


# Commit to git

git add Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-rails-2.10.1/lib/rubocop/cop/rails/relative_date_constant.rbgit commit -m "better docs for RuboCop::Cop::Rails::RelativeDateConstant#relative_date_method?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-RuboCop--Cop--Rails--RelativeDateConstant-relative_date_method--for-pr

hub pull-request


# Celebrate!