class Plist::PTag
Attributes
children[RW]
text[RW]
Public Class Methods
inherited(sub_class)
click to toggle source
# File lib/plist/parser.rb, line 149 def self.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 145 def self.mappings @mappings ||= {} end
new()
click to toggle source
# File lib/plist/parser.rb, line 158 def initialize @children = [] end
Public Instance Methods
to_ruby()
click to toggle source
# File lib/plist/parser.rb, line 162 def to_ruby raise "Unimplemented: " + self.class.to_s + "#to_ruby on #{self.inspect}" end