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
commit238ba9f095bc1d95c9531e427ddcc80e0e36a6ba (patch)
tree912727daa6b5d7fa528c154a8816f56ee908ab61
parent2334c17543e953f1e49d34556b711db9c4145284 (diff)
downloadruby-238ba9f095bc1d95c9531e427ddcc80e0e36a6ba.tar.gz
ruby-238ba9f095bc1d95c9531e427ddcc80e0e36a6ba.tar.xz
ruby-238ba9f095bc1d95c9531e427ddcc80e0e36a6ba.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/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 3e2984f34..4ce6b8dc9 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 22242de44..48652fef5 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 df602b000..6feb3a0f2 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 fc1e0d2e7..0cada5915 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 33650aa0f..baff504be 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
* ---------------------------------------------------------------