* numeric.c (Numeric#negative?): [DOC] Fix call-seq.

Patch by @yui-knk. [Fixes GH-908]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2015-05-24 15:33:08 +00:00
parent e28addcf5b
commit 2e1835b69d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon May 25 00:27:37 2015 Benoit Daloze <eregontp@gmail.com>
* numeric.c (Numeric#negative?): [DOC] Fix call-seq.
Patch by @yui-knk. [Fixes GH-908]
Sun May 24 01:35:22 2015 Koichi Sasada <ko1@atdot.net>
* debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().

View File

@ -673,7 +673,7 @@ num_positive_p(VALUE num)
/*
* call-seq:
* num.positive? -> true or false
* num.negative? -> true or false
*
* Returns +true+ if +num+ is less than 0.
*/