This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

Object

        # Object < BasicObject

---
# Includes:
Kernel (from ruby core)

(from gem debug-1.7.1)
    ForkInterceptor
    TrapInterceptor

(from ruby core)
---




Object is the default root of all Ruby objects.  Object inherits from
BasicObject which allows creating alternate object hierarchies.  Methods
on Object are available to all classes unless explicitly overridden.

Object mixes in the Kernel module, making the built-in kernel functions
globally accessible.  Although the instance methods of Object are
defined by the Kernel module, we have chosen to document them here for
clarity.

When referencing constants in classes inheriting from Object you do not
need to use the full namespace.  For example, referencing `File` inside
`YourClass` will find the top-level File class.

In the descriptions of Object's methods, the parameter *symbol* refers
to a symbol, which is either a quoted string or a Symbol (such as
`:name`).

## What's Here

First, what's elsewhere. Class Object:

*   Inherits from [class
    BasicObject](BasicObject.html#class-BasicObject-label-What-27s+Here)
    .
*   Includes [module
    Kernel](Kernel.html#module-Kernel-label-What-27s+Here).


Here, class Object provides methods for:

*   [Querying](#class-Object-label-Querying)
*   [Instance Variables](#class-Object-label-Instance+Variables)
*   [Other](#class-Object-label-Other)


### Querying

    [!~](#method-i-21~)
:       Returns `true` if `self` does not match the given object,
        otherwise `false`.

    [<=>](#method-i-3C-3D-3E)
:       Returns 0 if `self` and the given object `object` are the same
        object, or if `self == object`; otherwise returns `nil`.

    #===
:       Implements case equality, effectively the same as calling #==.

    #eql?
:       Implements hash equality, effectively the same as calling #==.

    #kind_of? (aliased as #is_a?)
:       Returns whether given argument is an ancestor of the singleton
        class of `self`.

    #instance_of?
:       Returns whether `self` is an instance of the given class.

    #instance_variable_defined?
:       Returns whether the given instance variable is defined in
        `self`.

    #method
:       Returns the Method object for the given method in `self`.

    #methods
:       Returns an array of symbol names of public and protected methods
        in `self`.

    #nil?
:       Returns `false`. (Only `nil` responds `true` to method `nil?`.)

    #object_id
:       Returns an integer corresponding to `self` that is unique for
        the current process

    #private_methods
:       Returns an array of the symbol names of the private methods in
        `self`.

    #protected_methods
:       Returns an array of the symbol names of the protected methods in
        `self`.

    #public_method
:       Returns the Method object for the given public method in `self`.

    #public_methods
:       Returns an array of the symbol names of the public methods in
        `self`.

    #respond_to?
:       Returns whether `self` responds to the given method.

    #singleton_class
:       Returns the singleton class of `self`.

    #singleton_method
:       Returns the Method object for the given singleton method in
        `self`.

    #singleton_methods
:       Returns an array of the symbol names of the singleton methods in
        `self`.


    #define_singleton_method
:       Defines a singleton method in `self` for the given symbol
        method-name and block or proc.

    #extend
:       Includes the given modules in the singleton class of `self`.

    #public_send
:       Calls the given public method in `self` with the given argument.

    #send
:       Calls the given method in `self` with the given argument.



### Instance Variables

    #instance_variable_get
:       Returns the value of the given instance variable in `self`, or
        `nil` if the instance variable is not set.

    #instance_variable_set
:       Sets the value of the given instance variable in `self` to the
        given object.

    #instance_variables
:       Returns an array of the symbol names of the instance variables
        in `self`.

    #remove_instance_variable
:       Removes the named instance variable from `self`.



### Other

    #clone
:       Returns a shallow copy of `self`, including singleton class and
        frozen state.

    #define_singleton_method
:       Defines a singleton method in `self` for the given symbol
        method-name and block or proc.

    #display
:       Prints `self` to the given IO stream or `$stdout`.

    #dup
:       Returns a shallow unfrozen copy of `self`.

    #enum_for (aliased as #to_enum)
:       Returns an Enumerator for `self` using the using the given
        method, arguments, and block.

    #extend
:       Includes the given modules in the singleton class of `self`.

    #freeze
:       Prevents further modifications to `self`.

    #hash
:       Returns the integer hash value for `self`.

    #inspect
:       Returns a human-readable  string representation of `self`.

    #itself
:       Returns `self`.

    #public_send
:       Calls the given public method in `self` with the given argument.

    #send
:       Calls the given method in `self` with the given argument.

    #to_s
:       Returns a string representation of `self`.


---
# Constants:

ARGF
:   ARGF is a stream designed for use in scripts that process files
    given as command-line arguments or passed in via STDIN.

    See ARGF (the class) for more details.
ARGV
:   ARGV contains the command line arguments used to run ruby.

    A library like OptionParser can be used to process command-line
    arguments.
Bignum
:   An obsolete class, use Integer

CROSS_COMPILING
:   [not documented]
DATA
:   DATA is a File that contains the data section of the executed file.
    To create a data section use `__END__`:

        $ cat t.rb
        puts DATA.gets
        __END__
        hello world!

        $ ruby t.rb
        hello world!
ENV
:   ENV is a Hash-like accessor for environment variables.

    See ENV (the class) for more details.
Fixnum
:   An obsolete class, use Integer

ParseError
:   [not documented]
RUBY_COPYRIGHT
:   The copyright string for ruby
RUBY_DESCRIPTION
:   The full ruby version string, like `ruby -v` prints
RUBY_ENGINE
:   The engine or interpreter this ruby uses.
RUBY_ENGINE_VERSION
:   The version of the engine or interpreter this ruby uses.
RUBY_PATCHLEVEL
:   The patchlevel for this ruby.  If this is a development build of
    ruby the patchlevel will be -1
RUBY_PLATFORM
:   The platform for this ruby
RUBY_RELEASE_DATE
:   The date this ruby was released
RUBY_REVISION
:   The GIT commit hash for this ruby.
RUBY_VERSION
:   The running version of ruby
Readline
:   [not documented]
SCRIPT_LINES__
:   When a Hash is assigned to `SCRIPT_LINES__` the contents of files
    loaded after the assignment will be added as an Array of lines with
    the file name as the key.
STDERR
:   Holds the original stderr

STDIN
:   Holds the original stdin

STDOUT
:   Holds the original stdout

TOPLEVEL_BINDING
:   The Binding of the top level scope


# Class methods:

    yaml_tag

# Instance methods:

    !~
    <=>
    ===
    =~
    CSV
    DelegateClass
    Digest
    define_singleton_method
    display
    dup
    enum_for
    eql?
    extend
    freeze
    hash
    inspect
    instance_of?
    instance_variable_defined?
    instance_variable_get
    instance_variable_set
    instance_variables
    is_a?
    itself
    kind_of?
    method
    methods
    nil?
    object_id
    private_methods
    protected_methods
    public_method
    public_methods
    public_send
    remove_instance_variable
    respond_to?
    respond_to_missing?
    send
    singleton_class
    singleton_method
    singleton_methods
    taint
    tainted?
    to_enum
    to_s
    to_yaml
    trust
    untaint
    untrust
    untrusted?
    xmp

(from gem builder-3.2.4)
---
Same as above, except in Object.
---
# Class methods:

    blank_slate_method_added
    find_hidden_method
    method_added

(from gem ffi-1.15.5)
---
# Instance methods:

    system_libffi_usable?

(from gem pg-1.4.6)
---
# Instance methods:

    camelize

(from gem thor-1.2.1)
---
# Constants:

AmbiguousTaskError
:   [not documented]
UndefinedTaskError
:   Raised when a command was not found.


# Instance methods:

    namespace
    rake_namespace
    task

---
Also found in:
    gem debug-1.7.1
    gem rake-13.0.6


      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.