Sha256: b60aa4ec046bac34ea85ef2fb69fcb9dfe1cf897576bdebe4c43c34431c78ad7
Contents?: true
Size: 293 Bytes
Versions: 17
Compression:
Stored size: 293 Bytes
Contents
here = File.expand_path(File.dirname(__FILE__)) $: << "#{here}/../../lib" require "erector" class Hello < Erector::Widget def content html do head do title "Welcome page" end body do p "Hello, world" end end end end puts Hello.new.to_html
Version data entries
17 entries across 17 versions & 2 rubygems