summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-22 00:45:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-22 00:45:33 +0000
commit545086d2c7b2905da456896e301a4e197b550f4b (patch)
tree2946de7566560be6944d22fed79a4333ea39c4c8
parent26be081f1bfbe9bfa1ef45b14860c64bd409b12b (diff)
fix doc for Numeric#coerce [ci skip]
* numeric.c (num_coerce): [DOC] fix doc for Numeric#coerce, missing '+'. [Fix GH-974] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--numeric.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ae130706d..ecc521e9aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 22 09:45:31 2015 Maksim Sitnikov <sitnikovme@undev.ru>
+
+ * numeric.c (num_coerce): [DOC] fix doc for Numeric#coerce,
+ missing '+'. [Fix GH-974]
+
Wed Jul 22 07:24:18 2015 Koichi Sasada <ko1@atdot.net>
* make rb_iseq_t T_IMEMO object (type is imemo_iseq).
diff --git a/numeric.c b/numeric.c
index 94e81c65b8..c041cabe76 100644
--- a/numeric.c
+++ b/numeric.c
@@ -215,7 +215,7 @@ rb_num_negative_p(VALUE num)
* call-seq:
* num.coerce(numeric) -> array
*
- * If a +numeric is the same type as +num+, returns an array containing
+ * If a +numeric+ is the same type as +num+, returns an array containing
* +numeric+ and +num+. Otherwise, returns an array with both a +numeric+ and
* +num+ represented as Float objects.
*