RubyGems Navigation menu

box_layout 1.0.0

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:

Versions:

  1. 1.0.0 - March 24, 2007 (6.5 KB)

Runtime Dependencies:

Authors:

  • Ryan Davis

Owners:

5a837592409354297424994e8d62f722

Total downloads 2,051

For this version 2,050

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'box_layout', '~> 1.0.0' = Copy to clipboard Copied!

install:
gem install box_layout = Copy to clipboard Copied!

Links: