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)


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

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