lib/grape-dsl/doc.rb in grape-dsl-1.1.2 vs lib/grape-dsl/doc.rb in grape-dsl-1.1.3
- old
+ new
@@ -329,10 +329,10 @@
end
# description
begin
args[:desc_files].each do |extra_desc_file_path|
- write_out_array.push "#{sheader}#{extra_desc_file_path.split(File::Separator).last.split('.')[0].camelcase}\n"
+ write_out_array.push "#{sheader}#{extra_desc_file_path.split(File::Separator).last.split('.')[0].camelcase}\n\n"
write_out_array.push " "+File.open(extra_desc_file_path,"r").read
end
end
# table of contents