Sha256: 15fb6321d4ba0d8e1ef4edd34f20eab52ba81e82ece30ea4ad54cfe4d60b6f35
Contents?: true
Size: 214 Bytes
Versions: 4
Compression:
Stored size: 214 Bytes
Contents
module App::AppError::Dhtml extend Waxx::Html extend self def get(x, title, message) x << %(<div><strong>#{h title}</strong></div> <div><code>#{(h message).gsub("\n","<br>")}</code></div>) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
waxx-0.2.0 | skel/app/app/error/dhtml.rb |
waxx-0.1.4 | skel/app/app/error/dhtml.rb |
waxx-0.1.3 | skel/app/app/error/dhtml.rb |
waxx-0.1.2 | skel/app/app/error/dhtml.rb |