aboutsummaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 12:52:47 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 12:52:47 +0000
commit46b14283fd692ce8bfe45f30974b0aab678f15aa (patch)
tree3002242ea256374f48688558f2bc7f62be93c5b4 /enum.c
parent598bae51c32a74adbe6abbab4b080419c2fc16eb (diff)
downloadruby-46b14283fd692ce8bfe45f30974b0aab678f15aa.tar.gz
* array.c, enum.c: make rdoc format consistent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/enum.c b/enum.c
index 41243cc79e..a459c812f2 100644
--- a/enum.c
+++ b/enum.c
@@ -1543,11 +1543,11 @@ min_ii(RB_BLOCK_CALL_FUNC_ARGLIST(i, args))
/*
* call-seq:
* enum.min -> obj
- * enum.min {| a,b | block } -> obj
+ * enum.min { |a, b| block } -> obj
* enum.min(n) -> array
- * enum.min(n) {| a,b | block } -> array
+ * enum.min(n) { |a, b| block } -> array
*
- * Returns the object in <i>enum</i> with the minimum value. The
+ * Returns the object in _enum_ with the minimum value. The
* first form assumes all objects implement <code>Comparable</code>;
* the second uses the block to return <em>a <=> b</em>.
*
@@ -1635,10 +1635,10 @@ max_ii(RB_BLOCK_CALL_FUNC_ARGLIST(i, args))
/*
* call-seq:
- * enum.max -> obj
- * enum.max { |a, b| block } -> obj
- * enum.max(n) -> obj
- * enum.max(n) {|a,b| block } -> obj
+ * enum.max -> obj
+ * enum.max { |a, b| block } -> obj
+ * enum.max(n) -> array
+ * enum.max(n) { |a, b| block } -> array
*
* Returns the object in _enum_ with the maximum value. The
* first form assumes all objects implement <code>Comparable</code>;