lib/riak/encoding.rb in riak-client-2.4.1 vs lib/riak/encoding.rb in riak-client-2.5.0
- old
+ new
@@ -1,6 +1,6 @@
-if defined? Encoding
- Encoding.default_internal = "UTF-8" if Encoding.default_internal.nil? ||
- !Encoding.default_internal.ascii_compatible?
-else
- $KCODE = "U"
-end
+if defined? Encoding
+ Encoding.default_internal = "UTF-8" if Encoding.default_internal.nil? ||
+ !Encoding.default_internal.ascii_compatible?
+else
+ $KCODE = "U"
+end