class Plist::PTag
Attributes
children[RW]
text[RW]
Public Class Methods
inherited( sub_class )
click to toggle source
# File lib/plist/parser.rb, line 139 def PTag::inherited( sub_class ) key = sub_class.to_s.downcase key.gsub!(/^plist::/, '' ) key.gsub!(/^p/, '') unless key == "plist" @@mappings[key] = sub_class end
mappings()
click to toggle source
# File lib/plist/parser.rb, line 135 def PTag::mappings @@mappings end
new()
click to toggle source
# File lib/plist/parser.rb, line 148 def initialize @children = Array.new end
Public Instance Methods
to_ruby()
click to toggle source
# File lib/plist/parser.rb, line 152 def to_ruby raise "Unimplemented: " + self.class.to_s + "#to_ruby on #{self.inspect}" end