| ArgumentError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| Array |
Arrays are ordered, integer-indexed collections of any object. Array
indexing starts at 0, as in C or Java. A negative index is assumed to be
relative to the end of the array—that is, an index of -1 indicates
the last element of the array, -2 is the next to last element in the array,
and so on.
|
| Bignum |
Bignum objects hold integers outside the range of Fixnum. Bignum objects
are created automatically when integer calculations would otherwise
overflow a Fixnum. When a calculation involving Bignum objects returns a
result that will fit in a Fixnum, the result is automatically converted.
|
| Binding |
Objects of class Binding encapsulate the execution context at some
particular place in the code and retain this context for future use. The
variables, methods, value of self, and possibly an iterator block
that can be accessed in this context are all retained. Binding objects can
be created using Kernel#binding, and are made available to the
callback of Kernel#set_trace_func.
|
| Class |
Classes in Ruby are first-class objects—each is an instance of class
Class.
|
| Continuation |
Continuation objects are generated by Kernel#callcc. They hold a
return address and execution context, allowing a nonlocal return to the end
of the callcc block from anywhere within a program. Continuations
are somewhat analogous to a structured version of C’s
setjmp/longjmp (although they contain more state, so you might
consider them closer to threads).
|
| Data |
in class.c
|
| Dir |
Objects of class Dir are directory streams representing
directories in the underlying file system. They provide a variety of ways
to list directories and their contents. See also File.
|
| EOFError |
Class IO is the basis for all input and output in Ruby. An I/O
stream may be duplexed (that is, bidirectional), and so may use
more than one native operating system stream.
|
| Exception |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| FalseClass |
The global value false is the only instance of class
FalseClass and represents a logically false value in boolean
expressions. The class provides operators allowing false to
participate correctly in logical expressions.
|
| File |
A File is an abstraction of any file object accessible by the
program and is closely associated with class IO File
includes the methods of module FileTest as class methods, allowing
you to write (for example) File.exist?("foo").
|
| Fixnum |
A Fixnum holds Integer values that can be represented in
a native machine word (minus 1 bit). If any operation on a Fixnum
exceeds this range, the value is automatically converted to a
Bignum.
|
| Float |
Float objects represent real numbers using the native
architecture’s double-precision floating point representation.
|
| FloatDomainError |
Turn off floating point exceptions for overflow, etc.
|
| Hash |
A Hash is a collection of key-value pairs. It is similar to an
Array, except that indexing is done via arbitrary keys of any
object type, not an integer index. The order in which you traverse a hash
by either key or value may seem arbitrary, and will generally not be in the
insertion order.
|
| IO |
Class IO is the basis for all input and output in Ruby. An I/O
stream may be duplexed (that is, bidirectional), and so may use
more than one native operating system stream.
|
| IOError |
Class IO is the basis for all input and output in Ruby. An I/O
stream may be duplexed (that is, bidirectional), and so may use
more than one native operating system stream.
|
| IndexError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| Integer |
Integer is the basis for the two concrete classes that hold whole
numbers, Bignum and Fixnum.
|
| Interrupt |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| LoadError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| LocalJumpError |
Proc objects are blocks of code that have been bound to a set of
local variables. Once bound, the code may be called in different contexts
and still access those variables.
|
| MatchData |
MatchData is the type of the special variable $~, and is
the type of the object returned by Regexp#match and
Regexp#last_match. It encapsulates all the results of a pattern
match, results normally accessed through the special variables
$&, $’, $`, $1, $2,
and so on. Matchdata is also known as MatchingData.
|
| Mdoc2Man |
mdoc2man - mdoc to man converter
|
| Method |
Proc objects are blocks of code that have been bound to a set of
local variables. Once bound, the code may be called in different contexts
and still access those variables.
|
| Module |
A Module is a collection of methods and constants. The
|
| NameError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| NilClass |
The class of the singleton object nil.
|
| NoMemoryError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| NoMethodError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| NotImplementedError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| Numeric |
Turn off floating point exceptions for overflow, etc.
|
| Object |
Object is the parent class of all classes in Ruby. Its methods are
therefore available to all objects unless explicitly overridden.
|
| Proc |
Proc objects are blocks of code that have been bound to a set of
local variables. Once bound, the code may be called in different contexts
and still access those variables.
|
| Range |
A Range represents an interval—a set of values with a start
and an end. Ranges may be constructed using the
s..e and s…e
literals, or with Range::new. Ranges constructed using ..
run from the start to the end inclusively. Those created using
… exclude the end value. When used as an iterator, ranges
return each value in the sequence.
|
| RangeError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| Regexp |
Document-class: Regexp
|
| RegexpError |
Document-class: Regexp
|
| RuntimeError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| ScriptError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| SecurityError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| Signal |
|
| SignalException |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| StandardError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| String |
A String object holds and manipulates an arbitrary sequence of
bytes, typically representing characters. String objects may be created
using String::new or as literals.
|
| Struct |
A Struct is a convenient way to bundle a number of attributes
together, using accessor methods, without having to write an explicit
class.
|
| Symbol |
Symbol objects represent names and some strings inside the Ruby
interpreter. They are generated using the :name and
:"string" literals syntax, and by the various
to_sym methods. The same Symbol object will be created
for a given name or string for the duration of a program’s execution,
regardless of the context or meaning of that name. Thus if Fred is
a constant in one context, a method in another, and a class in a third, the
Symbol :Fred will be the same object in all three
contexts.
|
| SyntaxError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| SystemCallError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| SystemExit |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| SystemStackError |
Proc objects are blocks of code that have been bound to a set of
local variables. Once bound, the code may be called in different contexts
and still access those variables.
|
| Thread |
Thread encapsulates the behavior of a thread of execution,
including the main thread of the Ruby script.
|
| ThreadError |
Thread encapsulates the behavior of a thread of execution,
including the main thread of the Ruby script.
|
| ThreadGroup |
ThreadGroup provides a means of keeping track of a number of
threads as a group. A Thread can belong to only one
ThreadGroup at a time; adding a thread to a new group will remove
it from any previous group.
|
| Time |
Time is an abstraction of dates and times. Time is stored
internally as the number of seconds and microseconds since the
epoch, January 1, 1970 00:00 UTC. On some operating systems, this
offset is allowed to be negative. Also see the library modules
Date and ParseDate. The Time class treats GMT
(Greenwich Mean Time) and UTC (Coordinated Universal Time)[Yes, UTC
really does stand for Coordinated Universal Time. There was a committee
involved.] as equivalent. GMT is the older way of referring to these
baseline times but persists in the names of calls on Posix systems.
|
| TrueClass |
The global value true is the only instance of class
TrueClass and represents a logically true value in boolean
expressions. The class provides operators allowing true to be used
in logical expressions.
|
| TypeError |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
| UnboundMethod |
Ruby supports two forms of objectified methods. Class Method is
used to represent methods that are associated with a particular object:
these method objects are bound to that object. Bound method objects for an
object can be created using Object#method.
|
| ZeroDivisionError |
Turn off floating point exceptions for overflow, etc.
|
| fatal |
Descendents of class Exception are used to communicate between
raise methods and rescue statements in begin/end
blocks. Exception objects carry information about the
exception—its type (the exception’s class name), an optional
descriptive string, and optional traceback information. Programs may
subclass Exception to add additional information.
|
<code/>and<pre/>for code samples.