Created
November 24, 2008 21:38
-
-
Save pete/28635 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' | |
class Vizziew < Hoshi::View(:html4) | |
def almost_blank_page | |
doc { | |
head { title "test" } | |
body { h1 "test" } | |
} | |
end | |
end | |
module Test | |
module Resources | |
class Map | |
include Waves::Resources::Mixin | |
on(:get, true) { | |
v = Vizziew.new | |
v.almost_blank_page | |
v.render | |
} | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment