rubex
https://github.com/sciruby/rubex
Ruby
rubex - A Ruby-like language for writing Ruby C extensions.
Rubex::AST::Expression::Name#analyse_types
Analyse a Name node. This can either be a variable name or a method call
without parenthesis. Code in this method that creates a RubyMethodCall
node primarily exists because in Ruby methods without arguments can
be called without parentheses. These names can potentially be Ruby
methods that are not visible to Rubex, but are present in the Ruby
run time. For example, a program like this:
def foo
bar
#^^^ this is a name node
endEdit
git clone [email protected]:sciruby/rubex.git
cd rubex
open lib/rubex/ast/expression/name.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rubex--AST--Expression--Name-analyse_types-for-pr
# Commit to gitgit add lib/rubex/ast/expression/name.rbgit commit -m "better docs for Rubex::AST::Expression::Name#analyse_types"
# 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--Expression--Name-analyse_types-for-pr
hub pull-request
# Celebrate!