rubex
https://github.com/sciruby/rubex
Ruby
rubex - A Ruby-like language for writing Ruby C extensions.
Rubex::AST::Node#add_top_statements_to_object_scope
Scan all the statements that do not belong to any particular class (meaning that they belong to Object) and add them to the Object class, which becomes the class from which all other classes will inherit from.
Edit
git clone [email protected]:sciruby/rubex.git
cd rubex
open lib/rubex/ast/node.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rubex--AST--Node-add_top_statements_to_object_scope-for-pr
# Commit to gitgit add lib/rubex/ast/node.rbgit commit -m "better docs for Rubex::AST::Node#add_top_statements_to_object_scope"
# 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--Node-add_top_statements_to_object_scope-for-pr
hub pull-request
# Celebrate!