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