Commit cab8eee8 by Dustin Sallings

Don't leave trailing whitespace in the annotations.

parent 16be3f2b
...@@ -39,7 +39,7 @@ module AnnotateModels ...@@ -39,7 +39,7 @@ module AnnotateModels
else else
col_type << "(#{col.limit})" if col.limit col_type << "(#{col.limit})" if col.limit
end end
info << sprintf("# %-#{max_size}.#{max_size}s:%-15.15s %s\n", col.name, col_type, attrs.join(", ")) info << sprintf("# %-#{max_size}.#{max_size}s:%-15.15s %s", col.name, col_type, attrs.join(", ")).rstrip + "\n"
end end
info << "#\n\n" info << "#\n\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment