# File lib/facter/util/plist/parser.rb, line 37definitialize@result = nil@open = Array.newend
Public Instance Methods
tag_end(name)click to toggle source
# File lib/facter/util/plist/parser.rb, line 51deftag_end(name)
last = @open.popif@open.empty?@result = last.to_rubyelse@open.last.children.pushlastendend
tag_start(name, attributes)click to toggle source
# File lib/facter/util/plist/parser.rb, line 43deftag_start(name, attributes)
@open.pushPTag::mappings[name].newend
text( contents )click to toggle source
# File lib/facter/util/plist/parser.rb, line 47deftext( contents )
@open.last.text = contentsif@open.lastend