Parent

Methods

Plist::PDict

Public Instance Methods

to_ruby() click to toggle source
     # File lib/facter/util/plist/parser.rb, line 141
141:     def to_ruby
142:       dict = Hash.new
143:       key = nil
144: 
145:       children.each do |c|
146:         if key.nil?
147:           key = c.to_ruby
148:         else
149:           dict[key] = c.to_ruby
150:           key = nil
151:         end
152:       end
153: 
154:       dict
155:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.