Module Plist
In: lib/facter/util/plist.rb



Classes and Modules

Module Plist::Emit
Class Plist::Listener
Class Plist::PArray
Class Plist::PData
Class Plist::PDate
Class Plist::PDict
Class Plist::PFalse
Class Plist::PInteger
Class Plist::PKey
Class Plist::PList
Class Plist::PReal
Class Plist::PString
Class Plist::PTag
Class Plist::PTrue
Class Plist::StreamParser


VERSION = '3.0.0'

Public Class methods

Note that I don‘t use these two elements much:

 + Date elements are returned as DateTime objects.
 + Data elements are implemented as Tempfiles

Plist::parse_xml will blow up if it encounters a data element. If you encounter such an error, or if you have a Date element which can‘t be parsed into a Time object, please send your plist file to so that I can implement the proper support.


    # File lib/facter/util/plist/parser.rb, line 24
24:   def Plist::parse_xml( filename_or_xml )
25:     listener =
26:     #parser =, listener)
27:     parser =, listener)
28:     parser.parse
29:     listener.result
30:   end