Created
May 12, 2011 14:37
-
-
Save mattstifanelli/968621 to your computer and use it in GitHub Desktop.
ERB File with Ruby code embedded into HTML
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>try erb</title> | |
</head> | |
<body> | |
<p> % 99.downto(96) do |number| | |
<%= number %> bottles of beer… | |
% end | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment