lib/couchbase/transcoder.rb in couchbase-jruby-client-0.1.1 vs lib/couchbase/transcoder.rb in couchbase-jruby-client-0.1.2

- old
+ new

@@ -25,11 +25,11 @@ end class Document < Base def decode(d) - data = case decoded = super - when String + decoded = super + data = if decoded.respond_to?(:to_str) decoded else decoded.getData.to_s end