From 4e06c639728df5f874f3ad8ca88f387f61b4779f Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Thu, 12 Mar 2009 16:01:13 -0400 Subject: [PATCH] fix warning --- lib/mongo/util/xml_to_ruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/util/xml_to_ruby.rb b/lib/mongo/util/xml_to_ruby.rb index c77eee8..fc7b003 100644 --- a/lib/mongo/util/xml_to_ruby.rb +++ b/lib/mongo/util/xml_to_ruby.rb @@ -45,7 +45,7 @@ class XMLToRuby when 'string' e.text.to_s when 'code' - Code.new (e.text.to_s) + Code.new(e.text.to_s) when 'binary' bin = Binary.new decoded = Base64.decode64(e.text.to_s)