-
-
Save rsl/110192 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 para (attributes = {}, &block) | |
method_missing(:p, attributes, &block) | |
end | |
para do | |
foo = <<-END_PARAGRAPH | |
Hello there. I love #{input 'inputting VARIOUS things'}. I also get a kick | |
out of #{code 'coding various things'}. There's such a thrill in | |
seeing all of the exciting #{output 'output you can get'} from a | |
well-written program. | |
END_PARAGRAPH | |
foo | |
end | |
para do foo="bar" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment