lib/hedgelog/normalizer.rb in hedgelog-0.1.6 vs lib/hedgelog/normalizer.rb in hedgelog-0.1.7

- old
+ new

@@ -22,9 +22,10 @@ private def normalize_thing(thing) return '' if thing.nil? + thing = thing.as_json if thing.respond_to?(:as_json) return normalize_struct(thing) if thing.is_a?(Struct) return normalize_array(thing) if thing.is_a?(Array) return normalize_hash(thing) if thing.is_a?(Hash) thing end