markaby / 0.4
| Short description: | Markup as Ruby | |||||||
|---|---|---|---|---|---|---|---|---|
| Category: | Library/HTML | |||||||
| Status: | stable | |||||||
| Created: | 2006-04-07 16:21:41 GMT | |||||||
| Last update: | 2006-04-07 16:21:41 GMT | |||||||
| Owner: | Why The Lucky Stiff (Projects of this owner) | |||||||
| Homepage: | http://code.whytheluckystiff.net/markaby/ | |||||||
| Download: | http://rubyforge.org/frs/?group_id=1271 | |||||||
| License: | Ruby's | |||||||
| Dependency: |
|
|||||||
| Description: | Markaby means Markup as Ruby.
html do
head do
title action_name
stylesheet_link_tag 'scaffold'
end
body do
p flash[:notice], :style => "color: green"
self << @content_for_layout
end
end
In your Ruby application, generate HTML using pure Ruby. Markaby also comes with a plugin for Rails which honors the .mab extension in your view templates. |
|||||||