Created
October 21, 2011 08:00
-
-
Save kimjoar/1303328 to your computer and use it in GitHub Desktop.
Extreme Startup PoC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def answer(q) | |
| case q | |
| when /.+: my name is (.+). what is my name/ | |
| $1 | |
| else | |
| "" | |
| end | |
| end | |
| puts answer("3fe7b6c0: my name is fred. what is my name") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment