rails

https://github.com/rails/rails

Ruby

Ruby on Rails

Time#next_year

No Docs, write some!

Source | Google | Stack overflow

Edit

$ git clone [email protected]:rails/rails.git
$ cd rails
$ open activesupport/lib/active_support/core_ext/time/calculations.rb

Contribute

# Make a new branch
$ git checkout -b -your-name--update-docs-Time-next_year-for-pr

# Commit to git
$ git add activesupport/lib/active_support/core_ext/time/calculations.rb
$ git commit -m "better docs for Time#next_year"

# Open pull request
$ gem install hub # on a mac you can `brew install hub`
$ hub fork
$ git push <your name> -your-name--update-docs-Time-next_year-for-pr
$ hub pull-request

# Celebrate!