From bd8d91066663dde3ac17c50bca318984d0b3507b Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Wed, 9 May 2012 22:09:27 +0900 Subject: clean enum.c --- mrblib/enum.rb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'mrblib') diff --git a/mrblib/enum.rb b/mrblib/enum.rb index 31a94b93f..2699a18af 100644 --- a/mrblib/enum.rb +++ b/mrblib/enum.rb @@ -1,7 +1,17 @@ ## # Enumerable # -# ISO 15.3.2 +# ISO 15.3.2 +# +# The Enumerable mixin provides collection classes with +# several traversal and searching methods, and with the ability to +# sort. The class must provide a method each, which +# yields successive members of the collection. If +# Enumerable#max, #min, or +# #sort is used, the objects in the collection must also +# implement a meaningful <=> operator, as these methods +# rely on an ordering between members of the collection. + module Enumerable ## -- cgit v1.2.3