Module: Puppet::Pops::Types::IteratorProducer Private

Defined in:
lib/puppet/pops/types/iterable.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Implemented by classes that can produce an iterator to iterate over their contents

Instance Method Summary collapse

Instance Method Details

#iteratorObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (ArgumentError)

5
6
7
# File 'lib/puppet/pops/types/iterable.rb', line 5

def iterator
  raise ArgumentError, 'iterator() is not implemented'
end