Created
December 17, 2008 03:54
-
-
Save pete/36931 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
require 'hoshi' | |
module ClaudeHw | |
module Resources | |
class UsesHoshi < Default | |
on(:get, true) { | |
Hoshi::View(:html4) { | |
doc { | |
head { title "Hello, World!" } | |
body { | |
h1 "Hello, World!" | |
p "This is Hoshi speaking." | |
p "Also, RUBY_VERSION: #{RUBY_VERSION}" | |
} | |
} | |
} | |
} | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment