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 - July 25, 2009 (6.5 KB)

Runtime Dependencies (1):

  • hoe >= 1.2.0
  • Owners:

    Authors:

    • Ryan Davis

    SHA 256 checksum:

    b1be05f1d578e3dbc590bbb15772e9990522fb9fc2b832b8a4a960bf3cc4515f

    Total downloads 3,840

    For this version 3,839

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    Licenses:

    N/A

    Required Ruby Version: > 0.0.0

    Links: