ruby-changes:20264
From: drbrain <ko1@a...>
Date: Thu, 30 Jun 2011 09:22:43 +0900 (JST)
Subject: [ruby-changes:20264] drbrain:r32312 (trunk): * lib/cmath.rb: Hide handle_no_method_error from RDoc.
drbrain 2011-06-30 09:22:32 +0900 (Thu, 30 Jun 2011) New Revision: 32312 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32312 Log: * lib/cmath.rb: Hide handle_no_method_error from RDoc. * error.c: Document or hide undocumented error classes. Modified files: trunk/ChangeLog trunk/error.c trunk/lib/cmath.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 32311) +++ ChangeLog (revision 32312) @@ -1,3 +1,8 @@ +Thu Jun 30 09:21:52 2011 Eric Hodel <drbrain@s...> + + * lib/cmath.rb: Hide handle_no_method_error from RDoc. + * error.c: Document or hide undocumented error classes. + Thu Jun 30 07:49:04 2011 Eric Hodel <drbrain@s...> * hash.c: Document ENV Index: lib/cmath.rb =================================================================== --- lib/cmath.rb (revision 32311) +++ lib/cmath.rb (revision 32312) @@ -389,7 +389,7 @@ module_function :lgamma private - def handle_no_method_error + def handle_no_method_error # :nodoc: if $!.name == :real? raise TypeError, "Numeric Number required" else Index: error.c =================================================================== --- error.c (revision 32311) +++ error.c (revision 32312) @@ -1465,6 +1465,12 @@ */ /* + * Document-class: EncodingError + * + * EncodingError is the base class for encoding errors. + */ + +/* * Document-class: Encoding::CompatibilityError * * Raised by Encoding and String methods when the source encoding is @@ -1472,6 +1478,18 @@ */ /* + * Document-class: fatal + * + * fatal is an Exception that is raised when ruby has encountered a fatal + * error and must exit. You are not able to rescue fatal. + */ + +/* + * Document-class: NameError::message + * :nodoc: + */ + +/* * Descendants of class <code>Exception</code> are used to communicate * between <code>raise</code> methods and <code>rescue</code> * statements in <code>begin/end</code> blocks. <code>Exception</code> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/