Parent

Methods

Plist::PDict

Public Instance Methods

to_ruby() click to toggle source

(Not documented)

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.