Method: Puppet::Pops::Types::Iterable#step

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

#step(step, &block) ⇒ Object

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)


138
139
140
141
142
# File 'lib/puppet/pops/types/iterable.rb', line 138

def step(step, &block)
  # Default implementation cannot propagate step to a new enumerator so chained
  # calls must put stepping last.
  raise ArgumentError, 'step() is not implemented'
end