It's not clear to me what the return value will be after that line. I *think* in this case ruby will return whatever the last result from the `each` block was, which could possibly be `nil` if the last child was not an `enum`. I think you might want to explicitly return `ids`, but if that's not the case the I'm not clear what the method is doing :)