Last active
August 29, 2015 13:57
-
-
Save echaozh/9348484 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
html = Arbre::Context.new do | |
h2 "Why Arbre is awesome?" | |
ul do | |
li "The DOM is implemented in ruby" | |
li "You can create object oriented views" | |
li "Templates suck" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment