This class holds string values, both, UTF-8 and UTF-16BE It will convert the value to UTF-16BE if necessary (i.e. if non-ascii char contained)
convert to binary
# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 39 def to_binary(bplist) bplist.string_to_binary(@value); end
convert to XML
# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 32 def to_xml(parser) n = parser.new_node('string') n = parser.append_node(n, parser.new_text(@value)) unless @value.nil? n end
Generated with the Darkfish Rdoc Generator 2.