mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
clean enum.c
This commit is contained in:
+11
-1
@@ -1,7 +1,17 @@
|
||||
##
|
||||
# Enumerable
|
||||
#
|
||||
# ISO 15.3.2
|
||||
# ISO 15.3.2
|
||||
#
|
||||
# The <code>Enumerable</code> mixin provides collection classes with
|
||||
# several traversal and searching methods, and with the ability to
|
||||
# sort. The class must provide a method <code>each</code>, which
|
||||
# yields successive members of the collection. If
|
||||
# <code>Enumerable#max</code>, <code>#min</code>, or
|
||||
# <code>#sort</code> is used, the objects in the collection must also
|
||||
# implement a meaningful <code><=></code> operator, as these methods
|
||||
# rely on an ordering between members of the collection.
|
||||
|
||||
module Enumerable
|
||||
|
||||
##
|
||||
|
||||
+1
-1047
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user