scripts/doc_gen.rb in procemon-0.0.4 vs scripts/doc_gen.rb in procemon-0.0.5
- old
+ new
@@ -21,9 +21,13 @@
if one_line_per_file =~ /\W* #/
comment.push one_line_per_file.gsub(/\W*#/,"#")
end
+ if one_file_path == String.new
+ comment.clear
+ end
+
if one_line_per_file =~ /\W*def\W/
if DOC_DATA[one_file_path.split(File::Separator).last.split('.')[0]].nil?
DOC_DATA[one_file_path.split(File::Separator).last.split('.')[0]]= Array.new
end
\ No newline at end of file