diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-31 21:05:52 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-31 21:05:52 +0000 |
commit | 65fd879a0afdd28f3c1184c6472300241d4d18b9 (patch) | |
tree | 2a428c8c8bee2db5c89e085451ed3e87aeceb86e /numeric.c | |
parent | cb07275001f6e443dd909e1bd95f9a0ecdc8a4b0 (diff) |
* numeric.c: [DOC] Fix typo in example for #step [ci skip]
Patch by @ksss [Fixes GH-522] https://github.com/ruby/ruby/pull/522
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1879,8 +1879,8 @@ num_step_size(VALUE from, VALUE args, VALUE eobj) } /* * call-seq: - * num.step(by: step, to: limit]) {|i| block } -> self - * num.step(by: step, to: limit]) -> an_enumerator + * num.step(by: step, to: limit) {|i| block } -> self + * num.step(by: step, to: limit) -> an_enumerator * num.step(limit=nil, step=1) {|i| block } -> self * num.step(limit=nil, step=1) -> an_enumerator * |