Sha256: cc6ae3979b9dd32729afdc5048b56247090a02946e21e4229ccfb85e873a55b3
Contents?: true
Size: 413 Bytes
Versions: 6
Compression:
Stored size: 413 Bytes
Contents
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
Version data entries
6 entries across 6 versions & 1 rubygems