Skip to content

Instantly share code, notes, and snippets.

@pete
Created December 17, 2008 03:54
Show Gist options
  • Save pete/36931 to your computer and use it in GitHub Desktop.
Save pete/36931 to your computer and use it in GitHub Desktop.
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