lib/methan/util.rb in
methan-0.1.0
vs lib/methan/util.rb in
methan-0.1.1
- old
+ new
@@ -1,4 +1,5 @@
+# coding: utf-8
class Hash def symbolize_keys self.each_with_object({}){|(k,v),memo| memo[k.to_s.to_sym]=v} end