Sha256: 0696f344cae7119bd48b3cb2197149bcac08ca092021913cb98e33ecd766f678
Contents?: true
Size: 603 Bytes
Versions: 164
Compression:
Stored size: 603 Bytes
Contents
# (Documentation in 3.x stub) # # @since 4.4.0 # Puppet::Functions.create_function(:step) do dispatch :step do param 'Iterable', :iterable param 'Integer[1]', :step end dispatch :step_block do param 'Iterable', :iterable param 'Integer[1]', :step block_param 'Callable[1,1]', :block end def step(iterable, step) # produces an Iterable Puppet::Pops::Types::Iterable.asserted_iterable(self, iterable).step(step) end def step_block(iterable, step, &block) Puppet::Pops::Types::Iterable.asserted_iterable(self, iterable).step(step, &block) nil end end
Version data entries
164 entries across 164 versions & 3 rubygems