summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-09 13:38:34 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-09 13:38:34 +0000
commitd458e60a036fd13674805a5bee208508d627a5ed (patch)
treea31007c4ca019c1a42e5ca879a15ceefa9a2f441
parent0e75ec65387d22a59f68b6e5dd04a6ab82b354c6 (diff)
downloadruby-d458e60a036fd13674805a5bee208508d627a5ed.tar.gz
ruby-d458e60a036fd13674805a5bee208508d627a5ed.tar.xz
ruby-d458e60a036fd13674805a5bee208508d627a5ed.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@6607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--array.c1
-rw-r--r--enum.c2
-rw-r--r--numeric.c2
-rw-r--r--pack.c2
5 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index dbbf53c9b..12085bb7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/array.c b/array.c
index ccdcc3d50..9ba88bda4 100644
--- a/array.c
+++ b/array.c
@@ -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.
diff --git a/enum.c b/enum.c
index 3ef697ccc..08a1fde74 100644
--- a/enum.c
+++ b/enum.c
@@ -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>.
diff --git a/numeric.c b/numeric.c
index 1c89e1180..45f0b28b7 100644
--- a/numeric.c
+++ b/numeric.c
@@ -224,7 +224,7 @@ num_uplus(num)
/*
* call-seq:
- * --num => numeric
+ * -num => numeric
*
* Unary Minus---Returns the receiver's value, negated.
*/
diff --git a/pack.c b/pack.c
index 2202f7dd8..fa4f8e3b6 100644
--- a/pack.c
+++ b/pack.c
@@ -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
* ---------------------------------------------------------------