Method: Puppet::Pops::Types::Iterable#reverse_each

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

#reverse_each(&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)


157
158
159
160
161
# File 'lib/puppet/pops/types/iterable.rb', line 157

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