Class: Reek::SexpFormatter
Class Method Summary collapse
Class Method Details
.format(sexp) ⇒ Object
7 8 9 10 |
# File 'lib/reek/sexp_formatter.rb', line 7 def self.format(sexp) sexp = YAML::load(YAML::dump(sexp)) Ruby2Ruby.new.process(sexp) end |