1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* array.c, enum.c, pack.c: rdoc patch from Johan Holmberg

<holmberg@iar.se> [ruby-core:3132] [ruby-core:3136]

* numeric.c: rdoc patch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2004-07-09 13:38:34 +00:00
parent c4d8f782a4
commit 703f913426
5 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Fri Jul 9 22:36:36 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* array.c, enum.c, pack.c: rdoc patch from Johan Holmberg
<holmberg@iar.se> [ruby-core:3132] [ruby-core:3136]
* numeric.c: rdoc patch.
Fri Jul 9 19:26:39 2004 Tanaka Akira <akr@m17n.org> Fri Jul 9 19:26:39 2004 Tanaka Akira <akr@m17n.org>
* lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to * lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to

View file

@ -1724,6 +1724,7 @@ rb_values_at(obj, olen, argc, argv, func)
/* /*
* call-seq: * call-seq:
* array.values_at(selector,... ) => an_array * array.values_at(selector,... ) => an_array
*
* Returns an array containing the elements in * Returns an array containing the elements in
* _self_ corresponding to the given selector(s). The selectors * _self_ corresponding to the given selector(s). The selectors
* may be either integer indices or ranges. * may be either integer indices or ranges.

2
enum.c
View file

@ -806,7 +806,7 @@ each_with_index_i(val, memo)
/* /*
* call-seq: * call-seq:
* enum.each_with_index {|obj, i| block } -> nil * enum.each_with_index {|obj, i| block } -> enum
* *
* Calls <em>block</em> with two arguments, the item and its index, for * Calls <em>block</em> with two arguments, the item and its index, for
* each item in <i>enum</i>. * each item in <i>enum</i>.

View file

@ -223,7 +223,7 @@ num_uplus(num)
/* /*
* call-seq: * call-seq:
* --num => numeric * -num => numeric
* *
* Unary Minus---Returns the receiver's value, negated. * Unary Minus---Returns the receiver's value, negated.
*/ */