Flowdock

BasicObject is the parent class of all classes in Ruby. It’s an explicit blank class. Object, the root of Ruby’s class hierarchy is a direct subclass of BasicObject. 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).

Constants

SRCFILES = <

ChartTypeVal = -4100;

TimeoutError = Timeout::Error

ThWait = ThreadsWait

Synchronizer = Sync

Synchronizer_m = Sync_m

CAN_USE_READLINE = true

ParseError = Racc::ParseError

NotImplementedError = NotImplementError

Version = OptionParser::Version

CLEANINGS = " clean-rb-default:: clean-rb:: clean-so:: clean: clean-so clean-rb-default clean-rb \t\t@-$(RM) $(CLEANLIBS#{sep}) $(CLEANOBJS#{sep}) $(CLEANFILES#{sep}) distclean-rb-default:: distclean-rb:: distclean-so:: distclean: clean distclean-so distclean-rb-default distclean-rb \t\t@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log \t\t@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES#{sep}) \t\t@-$(RMDIRS) $(DISTCLEANDIRS#{sep}) realclean: distclean "

MAIN_DOES_NOTHING = config_string('MAIN_DOES_NOTHING') || 'int main() {return 0;}'

LIBARG = config_string('LIBARG') || '-l%s'

RPATHFLAG = config_string('RPATHFLAG') || ''

LIBPATHFLAG = config_string('LIBPATHFLAG') || ' -L"%s"'

LINK_SO = config_string('LINK_SO') || if CONFIG["DLEXT"] == $OBJEXT "ld $(DLDFLAGS) -r -o $@ $(OBJS)\n" else "$(LDSHARED) #{OUTFLAG}$@ $(OBJS) " \ "$(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)" end

TRY_LINK = config_string('TRY_LINK') || "$(CC) #{OUTFLAG}conftest $(INCFLAGS) $(CPPFLAGS) " \ "$(CFLAGS) $(src) $(LIBPATH) $(LDFLAGS) $(ARCH_FLAG) $(LOCAL_LIBS) $(LIBS)"

COMPILE_CXX = config_string('COMPILE_CXX') || '$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<'

COMPILE_C = config_string('COMPILE_C') || '$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<'

RULE_SUBST = config_string('RULE_SUBST')

COMPILE_RULES = config_string('COMPILE_RULES', &split) || %w[.%s.%s:]

COMMON_LIBS = config_string('COMMON_LIBS', &split) || []

COMMON_HEADERS = hdr.join("\n")

EXPORT_PREFIX = config_string('EXPORT_PREFIX') {|s| s.strip}

SRC_EXT = %w[c m] << CXX_EXT

CXX_EXT = %w[cc cxx cpp]

ORIG_LIBPATH = ENV['LIB']

CONFIG = RbConfig::MAKEFILE_CONFIG

Revision = '$Date:: $'

DRbIdConv = DRb::DRbIdConv

DRbUndumped = DRb::DRbUndumped

DRbObject = DRb::DRbObject

SCRIPT_LINES__ = {} unless defined? SCRIPT_LINES__

Math = CMath

ARGF = argf

STDERR = rb_stderr

STDOUT = rb_stdout

STDIN = rb_stdin

TOPLEVEL_BINDING = rb_binding_new()

RUBY_ENGINE = MKSTR(engine)

RUBY_COPYRIGHT = MKSTR(copyright)

RUBY_DESCRIPTION = MKSTR(description)

RUBY_REVISION = INT2FIX(RUBY_REVISION)

RUBY_PATCHLEVEL = INT2FIX(RUBY_PATCHLEVEL)

RUBY_PLATFORM = MKSTR(platform)

RUBY_RELEASE_DATE = MKSTR(release_date)

RUBY_VERSION = MKSTR(version)

ARGV = rb_argv

DATA = f

FALSE = Qfalse

TRUE = Qtrue

NIL = Qnil

ENV = envtbl

Attributes

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