2012-12-17 06:26:15 +04:00
|
|
|
= Ruby Syntax
|
|
|
|
|
|
|
|
The Ruby syntax is large and is split up into the following sections:
|
|
|
|
|
2013-01-15 22:15:12 +04:00
|
|
|
Literals[rdoc-ref:syntax/literals.rdoc] ::
|
2012-12-17 06:26:15 +04:00
|
|
|
Numbers, Strings, Arrays, Hashes, etc.
|
|
|
|
|
2013-01-19 04:16:08 +04:00
|
|
|
Assignment[rdoc-ref:syntax/assignment.rdoc] ::
|
|
|
|
Assignment and variables
|
|
|
|
|
2013-01-15 22:15:12 +04:00
|
|
|
{Control Expressions}[rdoc-ref:syntax/control_expressions.rdoc] ::
|
|
|
|
+if+, +unless+, +while+, +until+, +for+, +break+, +next+, +redo+
|
|
|
|
|
|
|
|
Methods[rdoc-ref:syntax/methods.rdoc] ::
|
2012-12-17 06:26:15 +04:00
|
|
|
Method and method argument syntax
|
|
|
|
|
2013-01-15 22:15:12 +04:00
|
|
|
{Calling Methods}[rdoc-ref:syntax/calling_methods.rdoc] ::
|
|
|
|
How to call a method (or send a message to a method)
|
|
|
|
|
|
|
|
{Modules and Classes}[rdoc-ref:syntax/modules_and_classes.rdoc] ::
|
|
|
|
Creating modules and classes including inheritance
|
|
|
|
|
|
|
|
Exceptions[rdoc-ref:syntax/exceptions.rdoc] ::
|
2012-12-17 06:26:15 +04:00
|
|
|
Exception handling syntax
|
|
|
|
|
2013-01-15 22:15:12 +04:00
|
|
|
Precedence[rdoc-ref:syntax/precedence.rdoc] ::
|
|
|
|
Precedence of ruby operators
|
|
|
|
|
2013-01-24 04:40:49 +04:00
|
|
|
Refinements[rdoc-ref:syntax/refinements.rdoc] ::
|
|
|
|
Use and behavior of the experimental refinements feature
|
|
|
|
|
2013-01-17 03:36:46 +04:00
|
|
|
Miscellaneous[rdoc-ref:syntax/miscellaneous.rdoc] ::
|
|
|
|
+alias+, +undef+, +BEGIN+, +END+
|
|
|
|
|