Created
January 28, 2010 15:21
-
-
Save EragonJ/288830 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
document = <<-"# # #" # 下面這個是不是有種「樣版引擎」的感覺??可以很直覺的把HTML抽出來 | |
<html><head><title>#{title}</title></head> | |
<body> | |
<h1>#{title}</h1> | |
#{body} | |
</body> | |
</html> | |
# # # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment