by softbuilder · 15y ago · 0 comments
https://github.com/built/Jane-Kelly/blob/master/guard.py
It'll let you redefine functions with different guard parameters. (@when("x=5"), @when("x>20"), etc.) Like you, I would also shudder to see this in production. But it was fun and shows off some of what's possible.
No comments yet.