class AllVowels include Enumerable @@vowels = %w{a e i o u} def each @@vowels.each { |v| yield v } endendx = AllVowels.newx.collect { |i| i + "x" }x.detect { |i| i > "j" }x.select { |i| i > "j" }x.sortx.maxx.min