Class Plist::PTag
In: lib/facter/util/plist/parser.rb
Parent: Object

Methods

inherited   mappings   new   to_ruby  

Attributes

children  [RW] 
text  [RW] 

Public Class methods

[Source]

     # File lib/facter/util/plist/parser.rb, line 117
117:     def PTag::inherited( sub_class )
118:       key = sub_class.to_s.downcase
119:       key.gsub!(/^plist::/, '' )
120:       key.gsub!(/^p/, '')  unless key == "plist"
121: 
122:       @@mappings[key] = sub_class
123:     end

[Source]

     # File lib/facter/util/plist/parser.rb, line 113
113:     def PTag::mappings
114:       @@mappings
115:     end

[Source]

     # File lib/facter/util/plist/parser.rb, line 126
126:     def initialize
127:       @children = Array.new
128:     end

Public Instance methods

[Source]

     # File lib/facter/util/plist/parser.rb, line 130
130:     def to_ruby
131:       raise "Unimplemented: " + self.class.to_s + "#to_ruby on #{self.inspect}"
132:     end

[Validate]