@ -5,7 +5,7 @@ module Parfait
|
||||
include AST::Sexp
|
||||
|
||||
def rewrite(input)
|
||||
ast = Parser::Ruby22.parse( input )
|
||||
ast = Parser::CurrentRuby.parse( input )
|
||||
new_ast = process(ast)
|
||||
new_ast.to_s
|
||||
end
|
||||
|
Reference in New Issue
Block a user