зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
cb07275001
Коммит
65fd879a0a
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Feb 1 06:04:56 2014 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
|
* numeric.c: [DOC] Fix typo in example for #step [ci skip]
|
||||||
|
Patch by @ksss [Fixes GH-522] https://github.com/ruby/ruby/pull/522
|
||||||
|
|
||||||
Fri Jan 31 17:01:47 2014 Eric Wong <e@80x24.org>
|
Fri Jan 31 17:01:47 2014 Eric Wong <e@80x24.org>
|
||||||
|
|
||||||
* ext/socket/init.c (rsock_socket0): split out SOCK_CLOEXEC version
|
* ext/socket/init.c (rsock_socket0): split out SOCK_CLOEXEC version
|
||||||
|
|
|
@ -1879,8 +1879,8 @@ num_step_size(VALUE from, VALUE args, VALUE eobj)
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* num.step(by: step, to: limit]) {|i| block } -> self
|
* num.step(by: step, to: limit) {|i| block } -> self
|
||||||
* num.step(by: step, to: limit]) -> an_enumerator
|
* num.step(by: step, to: limit) -> an_enumerator
|
||||||
* num.step(limit=nil, step=1) {|i| block } -> self
|
* num.step(limit=nil, step=1) {|i| block } -> self
|
||||||
* num.step(limit=nil, step=1) -> an_enumerator
|
* num.step(limit=nil, step=1) -> an_enumerator
|
||||||
*
|
*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче