Categories: None [Edit]

box_layout

https://rubygems.org/gems/box_layout
Allows you to lay out HTML using ASCII art. Stolen from psykotic's code posted to reddit: http://programming.reddit.com/info/k9dx/comments == SYNOPSIS: require 'box_layout' page_template = <<-END ---------- | | ---------- | | | | | | | | | | | | | | | | ---------- | | ---------- END layout = BoxLayout.html page_template puts "<title>cute</title>" puts "<style>* { border: 1px solid black }</style>" puts layout % %w[header left body right footer].map {|s| "**#{s}**" } == REQUIREMENTS:

Total

Ranking: 114,199 of 183,487
Downloads: 5,645

Daily

Ranking: 39,491 of 183,477
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,1058,605,313hoe

Owners

#GravatarHandle
1iconzenspider