diff --git a/libraries/logstash_conf.rb b/libraries/logstash_conf.rb index 958e754..888d2ae 100644 --- a/libraries/logstash_conf.rb +++ b/libraries/logstash_conf.rb @@ -33,7 +33,7 @@ def self.value_to_str(v, indent = 0) when Array "[#{v.map { |e| value_to_str(e, indent) }.join(', ')}]" when Hash, Mash - '{\n' + hash_to_str(v, indent) + '\n' + indent(indent) + '}' + "{\n" + hash_to_str(v, indent) + "\n" + indent(indent) + '}' when TrueClass, FalseClass v.to_s else