The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition)

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

! (exclamation points), identifiers

$& variable, string substitutions

$defout stream, buffering/unbuffering I/O

$flag variable, threads waiting for events

$KCODE global variable

$MATCH variables, string substitutions

$SAFE variable, threads

$stdout variable

% (percent symbol) method

     base number conversions

     formatting numbers for output

     String class

%Q notations, strings

%U specifiers, finding week of the year

%W specifiers, finding week of the year

& (AND) operator

     mathematical sets

     number bit-level operations

&& operators

() (parentheses)

     methods

     strings

* (asterisk) quantifiers, regex

** operators, exponentiation (numbers)

+ operators, mathematical sets

- (hyphens), character classes

/m (multiline modifiers), regular expressions

" (quotes), strings

1xN matrices, creating 2nd

: (colon)

     :include: tags

     :main: tags

     :nodoc: tags

     :notnew: tags

     :title: tags

< (greater than) symbol)

     << (left-shift) operators

     <=> comparison operators 2nd

< > (angle brackets)

<< >> append operators, strings

= (equal sign)

     = (equality) operators

     == (equality operators) 2nd 3rd

     === (relationship) operators 2nd 3rd

     =end markers, embedded documentation

> (less than) operators

     >>(right-shift) operators

     strings

? (question marks)

     ?< notation, regex

     identifiers

@ (at symbol), class instance variables

@@ prefix (variables)

[] brackets

     mathematical sets, creating

     strings

^ (carets)

     ^ (XOR) operator, number bit-level operations

     character classes

     string parameters

_ (underscores)

     _clone method, deep copying

     _dump method

     _dup method, deep copying

     _END_ directives

     _load method, customized marshalling

     _send_, sending explicit messages to objects

     identifiers 2nd

     numbers

_END_ directives

_send_, sending explicit messages to objects

` (grave accents) 2nd

{} (braces)

     blocks

     strings

| (pipes)

     opening

     operators 2nd

     reading

     Ruby interpreter

     threads

     writing

     || operators 2nd

Категории