Created
February 16, 2009 09:06
-
-
Save fairchild/65083 to your computer and use it in GitHub Desktop.
This file contains 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 any_verb(path, block) | |
get path, &block | |
post path, &block | |
put path, &block | |
delete path, &block | |
head path, &block | |
end | |
any_verb "/" do | |
"foo" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment