Ruby Syntax
The Ruby syntax is large and is split up into the following sections:
Code Layout ::
Breaking code in lines
Literals ::
Numbers, Strings, Arrays, Hashes, etc.
Assignment ::
Assignment and variables
if, unless, while, until, for, break, next, redo
Structural pattern matching and variable binding syntax
Methods ::
Method and method argument syntax
How to call a method (or send a to a method)
Creating modules and classes including inheritance
Exceptions ::
Exception handling syntax
Precedence ::
Precedence of ruby operators
Refinements ::
Use and behavior of the refinements feature
alias, undef, BEGIN, END
Comments ::
Line and block code comments
Operators ::
Operator method behaviors