- clear comments when starting to parse

This commit is contained in:
Jordan Sissel 2013-01-02 00:37:26 -08:00
parent 985b307404
commit f58a99e66e

View file

@ -29,6 +29,7 @@ class LogStashConfigDocGenerator
end
def parse(string)
clear_comments
buffer = ""
string.split(/\r\n|\n/).each do |line|
# Join long lines