class Plist::PTag

Attributes

children[RW]
text[RW]

Public Class Methods

inherited( sub_class ) click to toggle source
# File lib/facter/util/plist/parser.rb, line 116
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/facter/util/plist/parser.rb, line 112
def PTag::mappings
  @@mappings
end
new() click to toggle source
# File lib/facter/util/plist/parser.rb, line 125
def initialize
  @children = Array.new
end

Public Instance Methods

to_ruby() click to toggle source
# File lib/facter/util/plist/parser.rb, line 129
def to_ruby
  raise "Unimplemented: " + self.class.to_s + "#to_ruby on #{self.inspect}"
end