mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/cmath.rb: Hide handle_no_method_error from RDoc.
* error.c: Document or hide undocumented error classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b57a0d44f9
commit
9802a3e7de
3 changed files with 24 additions and 1 deletions
|
@ -389,7 +389,7 @@ module CMath
|
|||
module_function :lgamma
|
||||
|
||||
private
|
||||
def handle_no_method_error
|
||||
def handle_no_method_error # :nodoc:
|
||||
if $!.name == :real?
|
||||
raise TypeError, "Numeric Number required"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue