mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
396650e0bd
c.f. [ruby-dev:36352]. * common.mk (COMMON_OBJS): removed prec.o. * inits.c (rb_call_inits): removed Init_Precision. * numeric.c (Init_Numeric): removed inclusion of Precision. removed #induced_from from each class. * rational.c: ditto. * ext/bigdecimal/bigdecimal.c: ditto. * lib/rdoc/knwon_classes.rb: removed the entry for Precision. * test/ruby/test_prec.rb: removed. * test/ruby/test_integer.rb: removed tests for Precision. * test/ruby/test_fixnum.rb: ditto. * test/ruby/test_float.rb: ditto. * test/ruby/test_rational.rb: ditto. * test/ruby/test_complex.rb: ditto. * test/bigdecimal/test_bigdecimal.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
68 lines
2.4 KiB
Ruby
68 lines
2.4 KiB
Ruby
module RDoc
|
|
|
|
##
|
|
# Ruby's built-in classes, modules and exceptions
|
|
|
|
KNOWN_CLASSES = {
|
|
"rb_cArray" => "Array",
|
|
"rb_cBignum" => "Bignum",
|
|
"rb_cClass" => "Class",
|
|
"rb_cData" => "Data",
|
|
"rb_cDir" => "Dir",
|
|
"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",
|
|
"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",
|
|
"rb_eFatal" => "Fatal",
|
|
"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",
|
|
"rb_eSignal" => "Signal",
|
|
"rb_eStandardError" => "StandardError",
|
|
"rb_eSyntaxError" => "SyntaxError",
|
|
"rb_eSystemCallError" => "SystemCallError",
|
|
"rb_eSystemExit" => "SystemExit",
|
|
"rb_eTypeError" => "TypeError",
|
|
"rb_eZeroDivError" => "ZeroDivError",
|
|
|
|
"rb_mComparable" => "Comparable",
|
|
"rb_mEnumerable" => "Enumerable",
|
|
"rb_mErrno" => "Errno",
|
|
"rb_mFileTest" => "FileTest",
|
|
"rb_mGC" => "GC",
|
|
"rb_mKernel" => "Kernel",
|
|
"rb_mMath" => "Math",
|
|
"rb_mProcess" => "Process"
|
|
}
|
|
|
|
end
|