File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -5107,6 +5107,19 @@ enum_compact(VALUE obj)
51075107 * For some methods, though, the usage would not make sense,
51085108 * and so it is not shown. Example: #tally would find exactly one of each Hash entry.
51095109 *
5110+ * == Extended Methods
5111+ *
5112+ * A Enumerable class may define extended methods. This section describes the standard
5113+ * behavior of extension methods for reference purposes.
5114+ *
5115+ * === #size
5116+ *
5117+ * Returns the size of elements. The size is defined as the number of iterations
5118+ * the #each method would perform over the elements.
5119+ * If #each method won't finish and its elements are Numeric, the size is +Infinite+.
5120+ * If #each method won't finish and its elements are not Numeric, the size is +nil+.
5121+ * If #each method don't work fine, raise TypeError.
5122+ *
51105123 */
51115124
51125125void
You can’t perform that action at this time.
0 commit comments