[rspec-users] default to just call the method?

Corey Haines coreyhaines at gmail.com
Wed Jan 20 10:27:24 EST 2010


Is something like this what you were thinking of?

http://gist.github.com/281907


>>> On Jan 18, 2010, at 9:31 am, Pat Maddox wrote:
>>>
>>>> define_simple_predicate_matcher :rise_from_the_ashes?
>>>
>>> As an extension, how about:
>>>
>>> define_simple_predicate_matcher :risen_from_the_ashes => :rises_from_the_ashes?
>>


-- 
http://www.coreyhaines.com
The Internet's Premiere source of information about Corey Haines


More information about the rspec-users mailing list