I have a series of scripts that have a mixture of all kinds of spacing, tabs, or a complete lack thereof. Is there anything that can parse and clean .rb files in a similar manner to HTML Tidy?
您可以尝试Ruby Script Beautifier 。
gg=G
https://github.com/libc/tidy_ffi
This is also a nice solution, and works with 1.9.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.