lsegal/yard — pull request #596 by apepper (2012-09-12 08:24:36+00:00)
Title: [Bugfix] Only show toggle, when visible children are present.

### Bug Description

This concerns the `default` template. When a class `a` contains a subclass `b` and that subclass `b` is `@private`, it is not listed in the Class List, when the option `--no-private` is set (so far all good). But the class `a` gets a toggle in the Class List indicating it has subclasses, even if all subclasses are `@private` or otherwise hidden.

### Bugfix

To calculate `has_children` all children are also ran through `run_verifier` to filter out hidden children.

I couldn't find specs for this, so it's only tested manually.