rubex

https://github.com/sciruby/rubex

Ruby

rubex - A Ruby-like language for writing Ruby C extensions.

Rubex::Lexer#lineno

Returns the value of attribute lineno

Source | Google | Stack overflow

Edit

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

cd rubex

open lib/rubex/lexer.rex.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rubex--Lexer-lineno-for-pr


# Commit to git

git add lib/rubex/lexer.rex.rbgit commit -m "better docs for Rubex::Lexer#lineno"


# 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--Lexer-lineno-for-pr

hub pull-request


# Celebrate!