Skip to content

geoffk/quick-cgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickCGI
Library to assist in the rendering of CGI pages using HAML.

Usage:

require 'quick_cgi' 

content = QuickCGI::Generator.generate(:admin_email => '[email protected]') do
  title "My title"
  @my_variable = "Hello"
  render(:haml=>'file.haml')
  render(:text=>'<p>My html text</p>')
end

print content

About

A simple way to make Ruby CGI programs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published