[前][次][番号順一覧][スレッド一覧]

ruby-changes:38553

From: eregon <ko1@a...>
Date: Mon, 25 May 2015 00:33:26 +0900 (JST)
Subject: [ruby-changes:38553] eregon:r50634 (trunk): * numeric.c (Numeric#negative?): [DOC] Fix call-seq.

eregon	2015-05-25 00:33:08 +0900 (Mon, 25 May 2015)

  New Revision: 50634

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50634

  Log:
    * numeric.c (Numeric#negative?): [DOC] Fix call-seq.
      Patch by @yui-knk. [Fixes GH-908]

  Modified files:
    trunk/ChangeLog
    trunk/numeric.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50633)
+++ ChangeLog	(revision 50634)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May 25 00:27:37 2015  Benoit Daloze  <eregontp@g...>
+
+	* 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@a...>
 
 	* debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().
Index: numeric.c
===================================================================
--- numeric.c	(revision 50633)
+++ numeric.c	(revision 50634)
@@ -673,7 +673,7 @@ num_positive_p(VALUE num) https://github.com/ruby/ruby/blob/trunk/numeric.c#L673
 
 /*
  *  call-seq:
- *     num.positive? ->  true or false
+ *     num.negative? ->  true or false
  *
  *  Returns +true+ if +num+ is less than 0.
  */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]