I forgot to say this earlier, but I think you should start with
```ruby
_name, _base_class, body = *node
```
Then you don't need the outer loop `node.children.each`, and you can do `body.children.each`.