Class: Scrivito::ClassCollection

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
app/cms/scrivito/class_collection.rb

Instance Method Summary collapse

Instance Method Details

#each {|class| ... } ⇒ Enumerator

Iterates over the classes.

Yield Parameters:

  • class (Class)

    if a block is given.

Returns:

  • (Enumerator)

    enumerator if no block is given.



20
# File 'app/cms/scrivito/class_collection.rb', line 20

delegate :each, to: :classes