Sha256: 8ae58944cc6d4bceba3b403e1c67eff55001c4c44a20451f48d1b3907f516c3b
Contents?: true
Size: 348 Bytes
Versions: 5
Compression:
Stored size: 348 Bytes
Contents
require 'wunderbar' W_.html do _head_ do _title 'Greeter' _style %{ input {display: block; margin: 2em} } end _body? do if @name _p "Hello #{@name}!" else _form method: 'post' do _p 'Please enter your name:' _input name: 'name' _input type: 'submit' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
wunderbar-0.8.13 | demo/helloworld.rb |
wunderbar-0.8.12 | demo/helloworld.rb |
wunderbar-0.8.11 | demo/helloworld.rb |
wunderbar-0.8.10 | demo/helloworld.rb |
wunderbar-0.8.9 | demo/helloworld.rb |