summaryrefslogtreecommitdiff
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
commit703f913426357ca462c0d82336bdb1f193e5e879 (patch)
tree912727daa6b5d7fa528c154a8816f56ee908ab61
parentc4d8f782a459776a98bc1376b27afc991b103a1a (diff)
* 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
-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 3e2984f344..4ce6b8dc9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to
diff --git a/array.c b/array.c
index 22242de44d..48652fef58 100644
--- a/array.c
+++ b/array.c
@@ -1724,6 +1724,7 @@ rb_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 df602b0008..6feb3a0f23 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 fc1e0d2e78..0cada5915b 100644
--- a/numeric.c
+++ b/numeric.c
@@ -223,7 +223,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 33650aa0f0..baff504bea 100644
--- a/pack.c
+++ b/pack.c
@@ -430,7 +430,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
* ---------------------------------------------------------------