Remove inconsistency in documentation.

The example shows inheriting from an instance of a class, not passing in a block.
Merge pull request #17 from johngallagher/patch-2

Remove inconsistency in documentation.