diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-22 00:45:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-22 00:45:33 +0000 |
commit | 1bcc92e1f7d8e1c6f61c33822eb9647e6f82c45f (patch) | |
tree | 2946de7566560be6944d22fed79a4333ea39c4c8 /numeric.c | |
parent | fc87f2b214170506e016038220c9d17a0e01c67f (diff) | |
download | ruby-1bcc92e1f7d8e1c6f61c33822eb9647e6f82c45f.tar.gz |
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
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. * |