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 + + * numeric.c (num_coerce): [DOC] fix doc for Numeric#coerce, + missing '+'. [Fix GH-974] + Wed Jul 22 07:24:18 2015 Koichi Sasada * 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. *