Parent

Methods

Plist::PData

Public Instance Methods

to_ruby() click to toggle source
# File lib/facter/util/plist/parser.rb, line 211
def to_ruby
  data = Base64.decode64(text.gsub(/\s+/, ''))

  begin
    return Marshal.load(data)
  rescue Exception => e
    io = StringIO.new
    io.write data
    io.rewind
    return io
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.