On Dec 11, 2011, at 8:43 PM, Grary Stimon wrote:

> Sylvester,
>=20
> Thanks, that works, but not in another important manner of use...
>=20
> class SomeImplementingClass
>   include AgeBasedApprovable
> end
>=20
> begin
>  SomeImplementingClass.new
>  puts 'FAIL'
> rescue =3D> e
>  puts 'PASS: ', e.message
> end
>=20
> How do I cover this case?

In this case, the proper hook method is Module.included (as you =
suggested in the beginning).  In order to DRY you should consider moving =
the check to a separate method that you call in both self.included and =
self.extended.