rubex
https://github.com/sciruby/rubex
Ruby
rubex - A Ruby-like language for writing Ruby C extensions.
Rubex::AST::TopStatement::AttachedKlass#rewrite_method_with_data_fetching
Rewrite method `stmt` so that the `data` variable becomes available inside the scope of the method.
Edit
git clone [email protected]:sciruby/rubex.git
cd rubex
open lib/rubex/ast/top_statement/klass/attached_klass.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rubex--AST--TopStatement--AttachedKlass-rewrite_method_with_data_fetching-for-pr
# Commit to gitgit add lib/rubex/ast/top_statement/klass/attached_klass.rbgit commit -m "better docs for Rubex::AST::TopStatement::AttachedKlass#rewrite_method_with_data_fetching"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rubex--AST--TopStatement--AttachedKlass-rewrite_method_with_data_fetching-for-pr
hub pull-request
# Celebrate!