Sha256: c20dc68ca052e72fd985038159d85bad5cccb67a78afb524226dcb62b71feaee

Contents?: true

Size: 400 Bytes

Versions: 112

Compression:

Stored size: 400 Bytes

Contents

module Scrivito

#
# @api public
#
class ClassCollection
  include Enumerable

  def initialize(classes)
    @classes = classes
  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

112 entries across 112 versions & 1 rubygems

Version Path
scrivito_sdk-0.70.0.rc1 lib/scrivito/class_collection.rb
scrivito_sdk-0.66.0 lib/scrivito/class_collection.rb
scrivito_sdk-0.66.0.rc2 lib/scrivito/class_collection.rb
scrivito_sdk-0.65.2 lib/scrivito/class_collection.rb
scrivito_sdk-0.66.0.rc1 lib/scrivito/class_collection.rb
scrivito_sdk-0.65.1 lib/scrivito/class_collection.rb
scrivito_sdk-0.65.0 lib/scrivito/class_collection.rb
scrivito_sdk-0.65.0.rc2 lib/scrivito/class_collection.rb
scrivito_sdk-0.65.0.rc1 lib/scrivito/class_collection.rb
scrivito_sdk-0.60.0 lib/scrivito/class_collection.rb
scrivito_sdk-0.60.0.rc2 lib/scrivito/class_collection.rb
scrivito_sdk-0.60.0.rc1 lib/scrivito/class_collection.rb