Created
January 17, 2012 11:17
-
-
Save ciaranarcher/1626285 to your computer and use it in GitHub Desktop.
Question on blocks
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
@responder.respond do |r| | |
r.do_something | |
@responder.bad_request! # using @responder in it's own block, is this frowned upon? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment