Class: Plist::StreamParser::PData
Instance Attribute Summary
Attributes inherited from PTag
Instance Method Summary collapse
Methods inherited from PTag
inherited, #initialize, mappings
Constructor Details
This class inherits a constructor from Plist::StreamParser::PTag
Instance Method Details
#to_ruby ⇒ Object
194 195 196 197 198 199 200 201 202 203 204 205 |
# File 'lib/searchlink/plist.rb', line 194 def to_ruby data = Base64.decode64(text.gsub(/\s+/, "")) begin Marshal.load(data) rescue Exception io = StringIO.new io.write data io.rewind io end end |