[Source]
# File lib/facter/util/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
[Validate]