class CFPropertyList::CFDictionary

this class contains a hash of values

def initialize(value={})

Create new CFDictonary type.
def initialize(value={})
  @value = value
end

def to_binary(bplist)

convert to binary
def to_binary(bplist)
  return bplist.dict_to_binary(self)
end

def to_xml

convert to XML
def to_xml
  n = LibXML::XML::Node.new('dict')
  @value.each_pair do
    |key,value|
    k = LibXML::XML::Node.new('key') << LibXML::XML::Node.new_text(key)
    n << k
    n << value.to_xml
  end
  return n
end