On 13 Mar 2009, at 16:34, Matt Wynne wrote:
Like yoda sounds, that does
Been implemented properly, it has :)
http://blog.zenspider.com/2009/04/spec-yoda-will.html
--
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/
http://twitter.com/ashleymoran
On 13 Mar 2009, at 16:34, Matt Wynne wrote:
The expanded form of
@cow.should_not be_hungry
is
@cow.hungry?.should_not be
Pat
Like yoda sounds, that does
And enlightened, I am =)
Thanks Pat
--
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/
ht
On 13 Mar 2009, at 15:42, Pat Maddox wrote:
On Mar 13, 2009, at 5:17 AM, Ashley Moran wrote:
Hi
Just noticed that the behaviour of
@cow.should_not be_hungry
is not the same as
@cow.hungry?.should == false # nil also passes
Don't know how this has escaped me for so long =)
What's the thi
On Mar 13, 2009, at 5:17 AM, Ashley Moran wrote:
Hi
Just noticed that the behaviour of
@cow.should_not be_hungry
is not the same as
@cow.hungry?.should == false # nil also passes
Don't know how this has escaped me for so long =)
What's the thinking behind this? You can already do
@cow
On Fri, Mar 13, 2009 at 5:17 AM, Ashley Moran >
> Just noticed that the behaviour of
>
> �...@cow.should_not be_hungry
>
> is not the same as
>
> �...@cow.hungry?.should == false # nil also passes
>
> Don't know how this has escaped me for so long =)
>
> What's the thinking behind this? You can al