# File lib/plist/parser.rb, line 117 def PTag::inherited( sub_class ) key = sub_class.to_s.downcase key.gsub!(%r^plist::/, '' ) key.gsub!(%r^p/, '') unless key == "plist" @@mappings[key] = sub_class end
# File lib/plist/parser.rb, line 113 def PTag::mappings @@mappings end
# File lib/plist/parser.rb, line 126 def initialize @children = Array.new end
# File lib/plist/parser.rb, line 130 def to_ruby raise "Unimplemented: " + self.class.to_s + "#to_ruby on #{self.inspect}" end