# File lib/puppet/util/zaml.rb, line 275
275:   def to_zaml(z)
276:     z.first_time_only(self) {
277:       z.nested {
278:         if empty?
279:           z.emit('[]')
280:         else
281:           each { |v| z.nl('- '); v.to_zaml(z) }
282:         end
283:       }
284:     }
285:   end