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/trunk@6607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2004-07-09 13:38:34 +00:00
parent 704d798615
commit 29c3cb6d20
5 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Fri Jul 9 22:18:59 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>
* lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to

View file

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

2
enum.c
View file

@ -806,7 +806,7 @@ each_with_index_i(val, memo)
/*
* 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
* each item in <i>enum</i>.

View file

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

2
pack.c
View file

@ -395,7 +395,7 @@ static unsigned long utf8_to_uv _((char*,long*));
* a.pack("a3a3a3") #=> "a\000\000b\000\000c\000\000"
* n.pack("ccc") #=> "ABC"
*
* Directives for +pack+.
* Directives for +pack+.
*
* Directive Meaning
* ---------------------------------------------------------------