Conventions Used in This Book
The following conventions are used in this book:
- Italic
Used for strings to be replaced for particular value.
Constant
width
Indicates command-line options; environment variable names; fragments of Ruby code, i.e., names and reserved words, including method names, variable names, class names, etc.; examples; user input.
[ ]
Text in brackets is usually optional.
...
Text followed by an ellipsis can be any number of sequences of the text.
- [...] or {...}
Ellipses between brackets or braces refers to omitted text.
Warning
This icon designates a warning relating to the nearby text.
Get Ruby in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.