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]

SYMBOL

- (dash character)
- operator

-- flags
  --simple-prompt option
  -c flag
  -cw command-line flag
  -w flag
  -r command-line flag
  -c command-line switch
  -e command-line switch
  -l command-line switch
  -w command-line switch
  --version command-line switch
  -h command-line switch
  -v command-line switch2nd2nd
  --noecho flag
  --noecho option
:: (double colon)
! operator
. (dot operator)
@ character2nd
* (asterisk)
* operators, array conversion with
*args parameter
& character
&: syntax
&& operator
#{...} operator
% operators2nd3rd4th
+ (plus sign)
+ method
+ operator
<< method
<< operator
<<~ (squiggly heredoc)
<<EOM expression
<=> method
<=> operator
= (equal sign)
= method2nd3rd
== (double equal sign operator)
=== operator2nd3rd
> method
|| operator
||= (or-equals) operator
$ (dollar sign)
$: (dollar-colon)
$? variable
$/ delimiter
$0 variable
$stdout variable

A

absolute constant path, forcing
Active Support library
ActiveRecord library
add? method
additive changes
additive/pass-through hybrids
alias
alias_method
all_symbols method
ancestors method2nd
ancestors, BasicObject as
ancestry, of objects
anchors, fine-tuning regular expressions with
archdir
ARGF.class
ArgumentError2nd3rd4th
ArgumentList class
arguments
  final method arguments, hashes as
  methods taking
  proc arguments.
    See also method arguments.
arithmetic method operators
arithmetic, operations
arity
Array class2nd3rd4th5th
Array method
Array.new method
arrays2nd
  combining
  conversion
    with * operators
    with to_a
  creating
    %I array constructors
    %i array constructors
    %W array constructors
    %w array constructors
    Array method
    Array.new
  getting more than one array element at a time
  hashes vs.
  inserting array elements
  manipulating beginnings of
  manipulating ends of
  querying
  removing array elements
  retrieving array elements
  role-playing with to_ary method
  setting more than one array element at time
  transformations of
assert method
assert_equal method2nd
assertions, fine-tuning regular expressions with
  conditional matches
  lookahead assertions
  lookbehind assertions
assignment operations
assignment operator

assignments
  local-variable assignment in conditional body
  of variables
    objects
    references in
  syntax in conditional bodies
  syntax in conditional tests
associative arrays
asterisk (*)
at-sign (@)
atomic values

attr_* method family
  attributes and
  summary of
attr_accessor, creating reader/writer attributes with
attribute reader methods
attribute writer methods

attributes
  attr_* method family and
    summary of attr_* methods
  automating creation of
attr_reader method
attr_writer method
automating creation of attributes

availability
  of tickets

B



backticks
  calling system programs with
  overview of
backtrace method
backward ranges
Baker class
bang (!) methods
bareword
bareword-style invocations
BasicObject2nd3rd4th5th
  as ancestor
  as class
  implementing subclasses of
begin keyword2nd3rd
beginning-of-line anchor
behaviors
  of core
    modifying with extend
    refinements
  of objects
    defining
    identifying uniquely with object_id method
    querying abilities with respond_to? method
    sending messages to with send method
  of singleton class
    with extended
    with included
benchmark.rb file
Binding class
binding method
binding.irb, debugging with
bindir key
Bitwise operators
blockless iterator calls, implicit creation of enumerators by

blocks
  block-proc conversions
    capturing code blocks as proc
    generalizing to_proc
    Hash#to_proc
    using procs for blocks
  defining sort-order logic with
  evaluation, with map methods
  parameters2nd
  procs vs.
  to scope file operations
  using procs for

Boolean objects
  overview of
  true/false as
Boolean queries2nd
Boolean states
  expressing in methods
  true/false as
break keyword
built-in classes2nd3rd4th
built-in methods, side effects of
bundler utility
byte-based file reading

C

callable objects2nd
callbacks
  extended, singleton-class behavior with
  implementing MicroTest
  included, singleton-class behavior with
  MiniTest
  specifying MicroTest
caller method, examining stack traces with

CallerTools
  Call class
  Stack class
call_original method
camelCase names
capture_block method
captures
  in replacement strings
  named captures
captures method

capturing
  code blocks as procs
  Method objects
  submatches with parentheses
caret2nd
case equality2nd3rd
case keyword2nd
case statements
  behavior of
  case truth tests
  case/when structure
  return value of
case transformations
case-changing methods
center method
chaining
change_string method

character classes
  overview of
  special escape sequences for
character-based file reading

chat servers
  writing using sockets
  writing using threads
Child class
chomp method
chop method
chr method
Class class
class definitions
class instance methods, enumerable overrides
class keyword2nd3rd4th
class methods2nd3rd
  adding with extend
  defining with class
  instance methods vs.
  self in definitions of
  writing

class objects
  calling methods
  creating
  instance variables of
  querying
class variables
  across classes
  across instances
  class hierarchy and
  pros and cons of
  syntax
class-definition blocks
Class.new method
Class#inherited, intercepting inheritance with
classes2nd
  as objects and message receivers
    class methods vs. instance methods
    class objects calling methods
    creating class objects
    singleton method
    writing class methods
  class variables across
  designing and naming
  hierarchy of
    BasicObject
    class variables and
    object ancestry
    single inheritance
  mixing modules into
  nesting
  numerical
  organizing objects with
    attributes and attr_* method family
    constants
    instance variables and object state
    setter methods
  origin of objects in
  reopening
  self in
class_eval method2nd
clean_tmp task
clear method
clearing hashes
clone method
code blocks2nd
  block parameters
  capturing as procs
  creating enumerators with
  curly braces vs. do/end in
  implementing each method
  implementing map method
    building map on top of each
    overview of
  implementing times method
  method calls
  rescue keyword in
  variable scope

combining
  arrays
  hashes
  strings
    overview of
    via interpolation
compact method
compact! method
Comparable module2nd3rd4th
  overview of
  sorting enumerables and

comparing
  objects
    Comparable module
    equality tests
  strings
    for equality
    overview of
concat method
concurrency
concurrent execution, with threads
  killing threads
  manipulating thread keys
  starting threads
  stopping threads
  threaded date servers
  threads
  variables
  writing chat servers using sockets
  writing chat servers using threads
conditional execution2nd3rd
  assignment syntax in conditional bodies
    local-variable assignment in conditional body
    overview of
  assignment syntax in conditional tests
  case statements
    behavior of
    case truth tests
    case/when structure
    return value of case statements
  conditional assignment operator
  conditional bodies
    assignment syntax in
    local-variable assignment in
  conditional modifiers
  else keyword
  elsif keyword
  if keyword
  if statements
  negating conditions with bang (!)
  negating conditions with not
  unless keyword

conditional looping
  with until keywords
    overview of
    until modifiers
  with while keywords
    overview of
    while modifiers

conditions
  negating with bang (!)
  negating with not
constant lookup2nd
constants2nd3rd
  basic use of
  introspection of
  predefined
  reassigning vs. modifying
  resolution of
constraining matches, with quantifiers
constructors, literal
content queries
content transformations
contents, of hashes
control-flow techniques
  conditional code execution
    case statements
    if keyword
  error handling
  exceptions
    avoiding NoMethodError with safe navigation operators
    capturing in rescue clauses
    creating exception classes
    debugging with binding.irb
    ensure clauses
    raising
    raising explicitly
    rescue keyword
    rescuing
  iterators
  repeating actions with loops
    looping based on lists of values
    multiple assignment in conditional statements
    unconditional looping with loop method
conversion methods, for date/time
conversions
  numerical
    with to_f method
    with to_i method
  of arrays
    with * operators
    with to_a method
  of regular expressions to strings
  of strings
  of strings to regular expressions, string-to-regexp idioms
  with Float
  with Integer

convertors
  converting
  second iterations

core behavior
  modifying with extend
  refinements
core, risks of changing functionality
cover? method
crypt(3) library function
curly braces2nd
currying
cycle method

D

danger
  destructive (receiver-changing) effects as
  varies independently from destructiveness
    bang (!) notation and destructive behavior
    bang (!) notation in method pairs
dangerous methods
dash character (-)
Data Encryption Standard (DES)
Date class
date format specifiers
date objects, creating
date/time
  arithmetic
  conversion methods
  formatting methods
  objects
    creating
    instantiating
  query methods
DateTime class2nd
debugging with binding.irb
decomment_demo.rb file
DeCommenter.decomment method
def keyword2nd
default method
default-valued arguments2nd
define_method

defining
  behaviors of objects
  class methods with class
  methods more than once
  operators by defining methods
  sort-order logic with blocks
  top-level methods
delegating, with method_missing method
delete_if operation
delimiters
deploying method-access rules
  private methods
  protected methods
DES (Data Encryption Standard)
destructive methods2nd

destructiveness
  as danger
  varies independently from danger
    bang (!) notation and destructive behavior
    bang (!) notation in method pairs
dictionaries
did_you_mean gem

Dir class
  manipulating directories with
    overview of
    reading directory entries
  querying directories with
Dir.glob method

directories
  globbing
  manipulating with Dir class
  querying with Dir class
  reading entries
    entries method
    overview of
display method2nd
do/end, curly braces vs.
dollar sign ($)
dollar-colon ($:)
dot operator2nd
dot wildcard character
double colon (::)
double equal sign operator (==)
double-quoted strings2nd
downto method
drop methods
drop_while method
duping objects

E

each method2nd3rd4th5th6th
  building map on top of
  gaining enumerability through
  of enumerators
each.with_index method
each_byte method2nd
each_char method
each_cons method
each_entry method
each_line method2nd
each_object method
each_slice method
each_with_index method
else clause2nd3rd4th
else keyword
elsif keyword
Employee class
empty argument list
encoding2nd
  of source files
  strings
end keyword2nd3rd
end method2nd
end of line anchor
ensure clauses
entries method
Enumberable#first

enumerability
  adding with enumerators
  gaining through each methods
  of files
Enumerable module2nd3rd4th
Enumerable#grep method

enumerables
  Boolean queries
  element-wise operations
    drop methods
    Enumberable#first
    max methods
    min methods
    take methods
  indexing with with_index method
  IO objects as
  overrides
  reduction with inject method
  searching
    getting first match with find operator
    getting matches with find_all method
  selecting
    getting matches with reject operation
    getting matches with select method
    organizing results with group_by method
    organizing results with partition method
    with grep
  sorting
    Comparable module and
    defining sort-order logic with blocks
    with sort_by method
enumerators
  adding enumerability with
  attaching to other objects
  creating with code blocks
  each method of
  exclusive-or operations on strings with
  fine-grained iteration with
  FizzBuzz with
  implicit creation of, by blockless iterator calls
  lazy
  method chaining
    economizing on intermediate objects
    exclusive-or operations on strings with enumerators
    indexing enumerables with with_index method
  protecting objects with
  strings as
enum_for method
eof? method
EOFError
eql? method
equal? method
equality
equality tests
equality-test method
Errno class
Errno::error
error handling
errors, in file I/O
escape sequences, for character classes
estimate attribute
eval family of methods
  class_eval (module_eval)
  executing arbitrary strings as code with
  instance_eval method
  pitfalls of using
event_date method
exceptions
  capturing in rescue clauses
  creating exception classes
  debugging with binding.irb
  ensure clauses
  in file I/O
  raising
    explicitly
    overview of
  re-raising
  rescue keyword
    using inside code blocks
    using inside methods
  rescuing
exclusive range
exclusive-or operations, on strings with enumerators
exec method
extend keyword
extend method2nd3rd
  intercepting
  per-object changes with
    adding class methods with
    adding to object functionality with
    modifying core behavior with
extended callbacks, singleton-class behavior with
extensions
  loading
  loading files in default load path
  require feature
  required
  require_relative

F

f.seek method
FalseClass
fetch method2nd
Fiber class
Fiber.yield method
FIFO (first in, first out) behavior
File class2nd3rd
file handles2nd3rd
__FILE__ keyword
file mode
File objects, querying
  deriving file information with File::Stat
  getting information from File class
  getting information from FileTest module
File::Stat objects, deriving file information from
File.join method
File.new method
File.open method2nd
File.read method2nd
File.readlines method
files2nd
  byte-based file reading
  character-based file reading
  file enumerability
  file I/O errors
  line-based file reading
  loading in load path
  querying file positions
  reading from2nd
  reading with File class methods
  seeking file positions
  using blocks to scope operations
  writing to2nd
FileTest module, getting information from
FileUtils module2nd
fileutils.rb file
final method arguments, hashes as
find operator
find_all method2nd
fine-grained iteration, with enumerators
first in, first out (FIFO) behavior
flatten! method
Float class
  conversions with
floating-point numbers2nd
fnmatch function
force_encoding method2nd
forcing absolute constant path
fork method
formal parameters

formatting
  methods, for date/time
  transformations
Forwardable module
freeze method
freezing objects
frozen string literals
Function class

functions
  creating with lambda
  creating with stabby lambda (->)
  higher-order functions
    currying
    Kernel#itself
    Kernel#yield_self
    method chaining
    partial function application
  returning functions

G

gem install command
gem method
gem uninstall command

gems
  directory of
  installing packages with
  loading
generic objects
getbyte method
getc method2nd
GIL (Global Interpreter Lock)
global substitution
global variables
  built-in
  global scope and
  i/o
  listing
  pros and cons of
global-capture-variable
globbing directories
greedy quantifiers, fine tuning regular expressions with
  limitations on parentheses
  specific numbers of repetitions

grep method
  case equality and
  overview of
group_by method2nd
gsub methods
  global substitutions with
  using captures in replacement strings
gsub! method

H

Hash class2nd3rd
hash keys2nd
hash literal
Hash method
  empty? method
  has_key?(1) method
  has_value?(
  include?(1) method
  key?(1) method
  member?(1) method
  size method
  value?(
hash notation
Hash.[ ] class method
Hash.new constructors
Hash.new method
Hash#include? method
Hash#to_proc
hashes
  adding key/value pairs to
  arrays vs.
  as final method arguments
  clearing
  combining
  creating
    creating literal hashes
    Hash method
    Hash.[ ] class method
    Hash.new constructor
  inserting hash pairs
  inverting
  named (keyword) arguments
  querying
  rejecting elements from
  removing hash pairs
  replacing contents of
  retrieving hash pairs
  selecting elements from
  specifying default hash values
  transformations
heredoc
hex method

hierarchies
  of classes
    BasicObject
    class variables and
    object ancestry
    single inheritance
  of methods
higher-order functions
  currying
  functions returning functions
  Kernel#itself
  Kernel#yield_self
  method chaining
  partial function application
hooks
hyphen-separated range

I

I/O methods2nd
ID numbers
identifiers
if clauses2nd
if keyword2nd
if statements
immediate values
immutability
  frozen string literals
  Object#freeze
  Object#frozen?
  of symbols
include? method2nd3rd4th5th6th
  operation
  operations, trapping
included callbacks, singleton-class behavior with
inclusive range
index method
IndexError
indexing enumerables, with with_index
inheritance
  class hierarchy and
    BasicObject
    object ancestry
  intercepting with Class#inherited
  single
initialize method2nd3rd4th5th6th7th
initializing objects with state
inject method, enumerable reduction with

inserting
  array elements
  hash pairs
inspect method2nd

installing
  packages with gem commands
  Ruby
instance methods2nd
  class methods vs.
  self in definitions of
instance variables2nd3rd
  listing
  object state and
  of class objects
  resolving through self
instance_eval method2nd3rd
instance_exec method2nd
instance_method method
instance_methods method
instance_variable_set
instantiated classes
instantiating date/time objects
instantiation
Integer class2nd3rd
Integer method, conversions with
integer-bound variables
intermediate objects
intern
interpolation.
    See also string interpolation.
interpreter command-line switches
  check syntax (-c)
  combining switches (-cw)
  executing literal script (-e)
  printing help information (-h, - -help)
  printing Ruby version (- -version)
  requiring named files or extensions (-rname)
  running in line mode (-l)
  running in verbose mode (-v, - -verbose)
  turning on warnings (-w)
introspection
  of constants
  of variables
    listing global variables
    listing instance variables
    listing local variables
InvalidLineError
IO classes

IO objects
  as enumerables
  querying
    deriving file information with File::Stat
    getting information from File class
    getting information from FileTest module
IOError
irb utility2nd3rd4th
is_a? method
iterations, fine-grained, with enumerators
iterators2nd
  block parameters
  curly braces vs. do/end
  implementing each method
  implementing map method
  implementing times method
  method calls
  variable scope

J

join method2nd

K

Kernel module2nd3rd4th5th
Kernel#itself
Kernel#open method
Kernel#proc method
Kernel#test
Kernel#yield_self
key parameter
key/value pairs, adding to hashes
keyboards
  input from
  inputs
KeyError
keys method
keys, with nil values
keywords2nd
killing threads

L

lambda method2nd
lambda, creating functions with
LANG environment variable
last in, first out (LIFO) principle
last method
lazy enumerators
lazy evaluation
lazy method2nd
leading whitespace, stripping
length method
library
LIFO (last in, first out) principle
line mode
line-based file reading
line_from_file method
Lister class2nd

listing
  global variables
  instance variables
  local variables
  non-private methods
  object methods
  private methods
  protected methods
  singleton methods
  values, looping based on
literal characters
literal constructors
literal hashes, creating
literal scripts, executing
ljust method
load method2nd
load paths, loading files in
load_and_report method
local scope2nd
local variables2nd3rd4th5th6th
  listing
  references and method arguments
lookahead assertions
lookbehind assertions
looping
  based on lists of values
  conditional with until keywords
  conditional with while keywords
  multiple assignments in conditional statements
  unconditional with loop method
lstrip method

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.148.144.228