better test for attr

still #25
This commit is contained in:
Torsten Ruger
2019-03-07 10:47:48 +02:00
parent 04720d4950
commit 5ed6a07083
8 changed files with 118 additions and 52 deletions

View File

@ -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