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

  • load
  • require

Constants

ENV = envtbl

ENV = envtbl

TOPLEVEL_BINDING = rb_f_binding(ruby_top_self)

NIL = Qnil

TRUE = Qtrue

FALSE = Qfalse

DATA = f

ARGV = rb_argv

MatchingData = rb_cMatch

RUBY_VERSION = v

RUBY_RELEASE_DATE = d

RUBY_PLATFORM = p

RUBY_PATCHLEVEL = INT2FIX(RUBY_PATCHLEVEL)

RUBY_DESCRIPTION = tmp

RUBY_COPYRIGHT = tmp

VERSION = v

RELEASE_DATE = d

PLATFORM = p

STDIN = rb_stdin

STDOUT = rb_stdout

STDERR = rb_stderr

ARGF = argf

IPsocket = rb_cIPSocket

TCPsocket = rb_cTCPSocket

SOCKSsocket = rb_cSOCKSSocket

TCPserver = rb_cTCPServer

UDPsocket = rb_cUDPSocket

UNIXsocket = rb_cUNIXSocket

UNIXserver = rb_cUNIXServer

Attributes

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