# File lib/puppet/util/zaml.rb, line 131 131: def to_zaml(z) 132: z.first_time_only(self) { 133: z.emit(zamlized_class_name(Object)) 134: z.nested { 135: instance_variables = to_yaml_properties 136: if instance_variables.empty? 137: z.emit(" {}") 138: else 139: instance_variables.each { |v| 140: z.nl 141: v[1..-1].to_zaml(z) # Remove leading '@' 142: z.emit(': ') 143: yaml_property_munge(instance_variable_get(v)).to_zaml(z) 144: } 145: end 146: } 147: } 148: end