I think predicate methods in ternary operators are a little awkward.

Something like this would be clearer:
```ruby
header = parent_window ? "Child ..." : "Top-level windows"
```