Flowdock

Object is the parent class of all classes in Ruby. Its methods are therefore available to all objects 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.

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).

Aliases

  • require
  • load

Constants

UNIXserver = rb_cUNIXServer

UNIXsocket = rb_cUNIXSocket

UDPsocket = rb_cUDPSocket

TCPserver = rb_cTCPServer

SOCKSsocket = rb_cSOCKSSocket

TCPsocket = rb_cTCPSocket

IPsocket = rb_cIPSocket

ARGF = argf

STDERR = rb_stderr

STDOUT = rb_stdout

STDIN = rb_stdin

PLATFORM = p

RELEASE_DATE = d

VERSION = v

RUBY_COPYRIGHT = tmp

RUBY_DESCRIPTION = tmp

RUBY_PATCHLEVEL = INT2FIX(RUBY_PATCHLEVEL)

RUBY_PLATFORM = p

RUBY_RELEASE_DATE = d

RUBY_VERSION = v

MatchingData = rb_cMatch

ARGV = rb_argv

DATA = f

FALSE = Qfalse

TRUE = Qtrue

NIL = Qnil

TOPLEVEL_BINDING = rb_f_binding(ruby_top_self)

ENV = envtbl

ENV = envtbl

Attributes

Show files where this class is defined (6 files)
Register or log in to add new notes.