yard
https://github.com/lsegal/yard
Ruby
YARD is a Ruby Documentation tool. The Y stands for "Yay!"
MyStruct#a=
No Docs, write some!
Edit
git clone [email protected]:lsegal/yard.git
cd yard
open benchmarks/struct_vs_ostruct.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MyStruct-a--for-pr
# Commit to gitgit add benchmarks/struct_vs_ostruct.rbgit commit -m "better docs for MyStruct#a="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MyStruct-a--for-pr
hub pull-request
# Celebrate!