Remove inconsistency in documentation.

The example shows inheriting from an instance of a class, not passing in a block.