aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--numeric.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 36526f9c66..d0826af590 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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().
diff --git a/numeric.c b/numeric.c
index 7a53e227ed..94e81c65b8 100644
--- a/numeric.c
+++ b/numeric.c
@@ -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.
*/