The Ruby syntax is large and is split up into the following sections:
Numbers, Strings, Arrays, Hashes, etc.
Assignment and variables
if
, unless
, while
,
until
, for
, break
,
next
, redo
Method and method argument syntax
How to call a method (or send a message to a method)
Creating modules and classes including inheritance
Exception handling syntax
Precedence of ruby operators
Use and behavior of the experimental refinements feature
alias
, undef
, BEGIN
,
END
Line and block code comments