Cool. I didn't know about and and Ruby. :-) thanks!
On 01/04/2008, Chuck Remes <[EMAIL PROTECTED]> wrote: > > > On Mar 31, 2008, at 4:53 PM, Tim Haines wrote: > > > Hi Guys, > > > > Just writing out a plain English story and was surprised to see one > > of my steps wasn't listed as pending. It turned out it was because > > I had started the line with and instead of And. Is there any reason > > why and shouldn't be an alias for And? > > > Tim, > > I would get it is because 'and' (lower case) is a reserved word in > Ruby. Note that all of these commands are uppercase. I don't think > they can alias 'and' without potentially breaking lots of valid ruby > code (not everyone uses '&&' for 'and' exclusively). > > cr > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users