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

Pat Maddox mailinglists at patmaddox.com
Wed Jan 20 14:20:44 EST 2010


exactamundo

On Jan 20, 2010, at 7:27 AM, Corey Haines wrote:

> 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
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list