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
    end

Source | Google | Stack overflow

Edit

git clone [email protected]:sciruby/rubex.git

cd rubex

open lib/rubex/ast/expression/name.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rubex--AST--Expression--Name-analyse_types-for-pr


# Commit to git

git add lib/rubex/ast/expression/name.rbgit commit -m "better docs for Rubex::AST::Expression::Name#analyse_types"


# Open pull request

gem 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!