module Scrivito # # @api public # class ClassCollection include Enumerable def initialize(classes) @classes = classes.compact.uniq end # # @!method each # Iterates over the classes. # @api public # @yieldparam [Class] class if a block is given. # @return [Enumerator] enumerator if no block is given. # delegate :each, to: :classes private attr_reader :classes end end