Object
include REXML::StreamListener
# File lib/plist/parser.rb, line 38 def initialize @result = nil @open = Array.new end
# File lib/plist/parser.rb, line 52 def tag_end(name) last = @open.pop if @open.empty? @result = last.to_ruby else @open.last.children.push last end end
# File lib/plist/parser.rb, line 44 def tag_start(name, attributes) @open.push PTag::mappings[name].new end
# File lib/plist/parser.rb, line 48 def text( contents ) @open.last.text = contents if @open.last end
[Validate]
Generated with the Darkfish Rdoc Generator 2.