Robert Dober
4/3/2009 10:16:00 PM
On Fri, Apr 3, 2009 at 10:56 PM, Ryan Davis <ryand-ruby@zenspider.com> wrot=
e:
>
> On Apr 3, 2009, at 13:02 , Robert Dober wrote:
>
>> =A0 =A0 =A0 Verify do
>> =A0 =A0 =A0 =A0 verify do 42 end
>> =A0 =A0 =A0 =A0 verify_not do nil end
>> =A0 =A0 =A0 =A0 verify_exceptions NameError do abcdefghijk end
>> =A0 =A0 =A0 end
>
> refute: same length as verify!
Never heard of that word before, just checked it on Websters, thanx
Ryan great idea.
> raises: ditto!
> (assert: I like assert)
So do I, but assert is normally inserted into production code, and
Verify is still a testing tool, but you know it is so easy to alias
the methods in the anonymous module that creates the wrapper object in
the Verify method ;).
Cheers
Robert
>
>
>
--=20
There are some people who begin the Zoo at the beginning, called
WAYIN, and walk as quickly as they can past every cage until they get
to the one called WAYOUT, but the nicest people go straight to the
animal they love the most, and stay there. ~ A.A. Milne (from
Winnie-the-Pooh)