Parent

Methods

Plist::PData

Public Instance Methods

to_ruby() click to toggle source
     # File lib/facter/util/plist/parser.rb, line 211
211:     def to_ruby
212:       data = Base64.decode64(text.gsub(/\s+/, ''))
213: 
214:       begin
215:         return Marshal.load(data)
216:       rescue Exception => e
217:         io = StringIO.new
218:         io.write data
219:         io.rewind
220:         return io
221:       end
222:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.