test.rb in plist4r-0.1.1 vs test.rb in plist4r-0.2.0
- old
+ new
@@ -1,14 +1,39 @@
#!/usr/bin/env ruby
require 'lib/plist4r'
-
+# puts "Backends = #{::Plist4r::Config[:backends].inspect}"
# Plist4r.new
-p = Plist4r.open "plists/foofoo.xml"
+p = Plist4r.open "plists/mini.xml"
# puts p.inspect
# puts p.to_hash.inspect
+# puts p.to_xml
-puts p.to_xml
+# b = p.to_binary
+# puts b.inspect
+
+
+# p2 = b.to_plist
+# puts p2.inspect
+# puts p2.to_xml
+
+# puts p2.to_xml
+# puts "plist type is"
+# puts p2.plist_type.inspect
+
+# p2.unsupported_keys false
+# puts p2.unsupported_keys.inspect
+# p2.<< do
+# somekey "append"
+# end
+
+# puts p2.to_hash.inspect
+# puts p2.to_xml
+
+
+
+
+