Method: Puppet::Pops::Types::PStructType#each

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

#eachObject



2008
2009
2010
2011
2012
2013
2014
# File 'lib/puppet/pops/types/types.rb', line 2008

def each
  if block_given?
    elements.each { |elem| yield elem }
  else
    elements.to_enum
  end
end