AST search/replace for ruby code