Skip to content

Instantly share code, notes, and snippets.

@pete
Created November 24, 2008 21:38
Show Gist options
  • Save pete/28635 to your computer and use it in GitHub Desktop.
Save pete/28635 to your computer and use it in GitHub Desktop.
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