29 Nov '14, 12pm

openSUSE's YaST uses Parser to beautify code automatically translated from a legacy language.

Zombie Killer In YaST we have tons of Ruby code which is ugly, because it was translated from a legacy language , striving for bug-compatibility. Zombie Killer analyzes the code for situations where it is safe to replace the ugly variants with nice ones. See the runnable specification for details. Installation Source: clone the git repository. Dependencies: run bundle . (On openSUSE, most dependencies are packaged as rubygem-*.rpm except unparser ) Usage zk [FILES...] works in place, so it is best to use in a Git checkout. By default it finds all *.rb files under the current directory.

Full article: http://www.rubydoc.info/gems/zombie-killer/0.2/frames

Tweets