def winPut this somewhere in your Ruby code, and you'll be able to write:
true
end
FAIL = nil
if something == winOriginally I had it with a lowercase fail, but that might conflict with some library somewhere. Plus it is cooler if it is in all caps.
...
if something == FAIL
This was inspired by a tweet from Giles Bowkett.
No comments:
Post a Comment