rails

https://github.com/rails/rails

Ruby

Ruby on Rails

Rails::Generators::BenchmarkGenerator#generate_layout

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/rails.git

cd rails

open railties/lib/rails/generators/rails/benchmark/benchmark_generator.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rails--Generators--BenchmarkGenerator-generate_layout-for-pr


# Commit to git

git add railties/lib/rails/generators/rails/benchmark/benchmark_generator.rbgit commit -m "better docs for Rails::Generators::BenchmarkGenerator#generate_layout"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Rails--Generators--BenchmarkGenerator-generate_layout-for-pr

hub pull-request


# Celebrate!