2008-07-17 20:46:16 -04:00
|
|
|
module RDoc
|
|
|
|
|
|
|
|
##
|
|
|
|
# Ruby's built-in classes, modules and exceptions
|
|
|
|
|
|
|
|
KNOWN_CLASSES = {
|
|
|
|
"rb_cArray" => "Array",
|
2010-04-26 23:45:22 -04:00
|
|
|
"rb_cBasicObject" => "BasicObject",
|
2008-07-17 20:46:16 -04:00
|
|
|
"rb_cBignum" => "Bignum",
|
|
|
|
"rb_cClass" => "Class",
|
|
|
|
"rb_cData" => "Data",
|
|
|
|
"rb_cDir" => "Dir",
|
2010-09-28 23:31:32 -04:00
|
|
|
"rb_cEncoding" => "Encoding",
|
2008-07-17 20:46:16 -04:00
|
|
|
"rb_cFalseClass" => "FalseClass",
|
|
|
|
"rb_cFile" => "File",
|
|
|
|
"rb_cFixnum" => "Fixnum",
|
|
|
|
"rb_cFloat" => "Float",
|
|
|
|
"rb_cHash" => "Hash",
|
|
|
|
"rb_cIO" => "IO",
|
|
|
|
"rb_cInteger" => "Integer",
|
|
|
|
"rb_cModule" => "Module",
|
|
|
|
"rb_cNilClass" => "NilClass",
|
|
|
|
"rb_cNumeric" => "Numeric",
|
|
|
|
"rb_cObject" => "Object",
|
|
|
|
"rb_cProc" => "Proc",
|
|
|
|
"rb_cRange" => "Range",
|
|
|
|
"rb_cRegexp" => "Regexp",
|
|
|
|
"rb_cRubyVM" => "RubyVM",
|
2011-06-29 17:17:31 -04:00
|
|
|
"rb_cSocket" => "Socket",
|
2008-07-17 20:46:16 -04:00
|
|
|
"rb_cString" => "String",
|
|
|
|
"rb_cStruct" => "Struct",
|
|
|
|
"rb_cSymbol" => "Symbol",
|
|
|
|
"rb_cThread" => "Thread",
|
|
|
|
"rb_cTime" => "Time",
|
|
|
|
"rb_cTrueClass" => "TrueClass",
|
|
|
|
|
|
|
|
"rb_eArgError" => "ArgError",
|
|
|
|
"rb_eEOFError" => "EOFError",
|
|
|
|
"rb_eException" => "Exception",
|
2011-06-16 00:59:24 -04:00
|
|
|
"rb_eFatal" => "fatal",
|
2008-07-17 20:46:16 -04:00
|
|
|
"rb_eFloatDomainError" => "FloatDomainError",
|
|
|
|
"rb_eIOError" => "IOError",
|
|
|
|
"rb_eIndexError" => "IndexError",
|
|
|
|
"rb_eInterrupt" => "Interrupt",
|
|
|
|
"rb_eLoadError" => "LoadError",
|
|
|
|
"rb_eNameError" => "NameError",
|
|
|
|
"rb_eNoMemError" => "NoMemError",
|
|
|
|
"rb_eNotImpError" => "NotImpError",
|
|
|
|
"rb_eRangeError" => "RangeError",
|
|
|
|
"rb_eRuntimeError" => "RuntimeError",
|
|
|
|
"rb_eScriptError" => "ScriptError",
|
|
|
|
"rb_eSecurityError" => "SecurityError",
|
2011-06-16 00:59:24 -04:00
|
|
|
"rb_eSignal" => "SignalException",
|
2008-07-17 20:46:16 -04:00
|
|
|
"rb_eStandardError" => "StandardError",
|
|
|
|
"rb_eSyntaxError" => "SyntaxError",
|
|
|
|
"rb_eSystemCallError" => "SystemCallError",
|
|
|
|
"rb_eSystemExit" => "SystemExit",
|
|
|
|
"rb_eTypeError" => "TypeError",
|
|
|
|
"rb_eZeroDivError" => "ZeroDivError",
|
|
|
|
|
|
|
|
"rb_mComparable" => "Comparable",
|
2011-06-29 17:17:31 -04:00
|
|
|
"rb_mDL" => "DL",
|
2008-07-17 20:46:16 -04:00
|
|
|
"rb_mEnumerable" => "Enumerable",
|
|
|
|
"rb_mErrno" => "Errno",
|
|
|
|
"rb_mFileTest" => "FileTest",
|
|
|
|
"rb_mGC" => "GC",
|
|
|
|
"rb_mKernel" => "Kernel",
|
|
|
|
"rb_mMath" => "Math",
|
|
|
|
"rb_mProcess" => "Process"
|
|
|
|
}
|
|
|
|
|
|
|
|
end
|