jbuilder
https://github.com/rails/jbuilder
Ruby
Jbuilder: generate JSON objects with a Builder-style DSL
Rails::Generators::JbuilderGenerator#partial_path_name
No Docs, write some!
Edit
git clone [email protected]:rails/jbuilder.git
cd jbuilder
open lib/generators/rails/jbuilder_generator.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rails--Generators--JbuilderGenerator-partial_path_name-for-pr
# Commit to gitgit add lib/generators/rails/jbuilder_generator.rbgit commit -m "better docs for Rails::Generators::JbuilderGenerator#partial_path_name"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rails--Generators--JbuilderGenerator-partial_path_name-for-pr
hub pull-request
# Celebrate!