this class contains a hash of values
convert to binary
# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 237 def to_binary(bplist) bplist.dict_to_binary(self) end
convert to XML
# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 226 def to_xml(parser) n = parser.new_node('dict') @value.each_pair do |key, value| k = parser.append_node(parser.new_node('key'), parser.new_text(key.to_s)) n = parser.append_node(n, k) n = parser.append_node(n, value.to_xml(parser)) end n end
Generated with the Darkfish Rdoc Generator 2.