lib/rbCFPropertyList.rb in CFPropertyList-2.0.15 vs lib/rbCFPropertyList.rb in CFPropertyList-2.0.16
- old
+ new
@@ -129,10 +129,10 @@
hsh[k] = CFPropertyList.guess(v, options)
end
return CFDictionary.new(hsh)
elsif options[:converter_method] and object.respond_to?(options[:converter_method]) then
- return CFPropertyList.guess(object.send(options[:converter_method]))
+ return CFPropertyList.guess(object.send(options[:converter_method]),options)
elsif options[:convert_unknown_to_string] then
return CFString.new(object.to_s)
else
raise CFTypeError.new("Unknown class #{object.class.to_s}! Try using :convert_unknown_to_string if you want to use unknown object types!")
end