Ruby Core 1.8.6

README this file inf-ruby.el program to run ruby under emacs ruby-mode.el
ruby mode for emacs rubydb2x.el ruby debugger support for emacs 19.2x or
before rubydb3x.el ruby debugger support for emacs 19.3x or later
ruby-electric.el emacs minor mode providing electric commands rdebug.el
ruby-debug (rdebug) support for emacs 19.3x or later

Are you a programmer looking for a job? Check out artofinterview’s Interview Tips for great ways to slam dunk your next interview.

Modules
Comparable The Comparable mixin is used by classes whose objects may be
ordered. The class must define the <=> operator, which
compares the receiver against another object, returning -1, 0, or +1
depending on whether the receiver is less than, equal to, or greater than
the other object. Comparable uses <=> to implement
the conventional comparison operators (<, <=,
==, >=, and >) and the method
between?.
Enumerable The Enumerable mixin provides collection classes with several
traversal and searching methods, and with the ability to sort. The class
must provide a method each, which yields successive members of the
collection. If Enumerable#max, #min, or #sort is
used, the objects in the collection must also implement a meaningful
<=> operator, as these methods rely on an ordering between
members of the collection.
Errno Ruby exception objects are subclasses of Exception. However,
operating systems typically report errors using plain integers. Module
Errno is created dynamically to map these operating system errors
to Ruby classes, with each error number generating its own subclass of
SystemCallError. As the subclass is created in module
Errno, its name will start Errno::.
FileTest FileTest implements file test operations similar to those used in
File::Stat. It exists as a standalone module, and its methods are
also insinuated into the File class. (Note that this is not done
by inclusion: the interpreter cheats).
GC The GC module provides an interface to Ruby’s mark and sweep
garbage collection mechanism. Some of the underlying methods are also
available via the ObjectSpace module.
Kernel Object is the parent class of all classes in Ruby. Its methods are
therefore available to all objects unless explicitly overridden.
Marshal The marshaling library converts collections of Ruby objects into a byte
stream, allowing them to be stored outside the currently active script.
This data may subsequently be read and the original objects reconstituted.
Marshaled data has major and minor version numbers stored along with the
object information. In normal use, marshaling can only load data written
with the same major version number and an equal or lower minor version
number. If Ruby’s “verbose’’ flag is set (normally using
-d, -v, -w, or —verbose) the major and minor numbers must match
exactly. Marshal versioning is independent of Ruby’s version numbers.
You can extract the version by reading the first two bytes of marshaled
data.
Math The Math module contains module functions for basic trigonometric
and transcendental functions. See class Float for a list of
constants that define Ruby’s floating point accuracy.
ObjectSpace The ObjectSpace module contains a number of routines that interact
with the garbage collection facility and allow you to traverse all living
objects with an iterator.
Precision Precision is a mixin for concrete numeric classes with precision. Here,
`precision’ means the fineness of approximation of a real number, so,
this module should not be included into anything which is not a subset of
Real (so it should not be included in classes such as Complex or
Matrix).
Process The Process module is a collection of methods used to manipulate
processes.
Signal Many operating systems allow signals to be sent to running

Classes
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 se
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.