# File: README
[ "README", "AUTHORS", "COPYING", "lib/capcode.rb", nil].each do
Capcode.view_html
Capcode::Helpers.view_html
Capcode::HTTPError.view_html
Capcode::ParameterError.view_html
end
README / Sun Mar 08 14:07:47 +0100 2009

Capcode

Copyright (C) 2009 Gregoire Lejeune

DESCRIPTION:

Capcode is a web microframework

FEATURES/PROBLEMS:

0.1.0

  • First public release
  • No models !!!

SYNOPSIS:

        # file: sample.rb
        require 'rubygems'
        require 'capcode'

        module Capcode
          class Hello < Route '/hello'
            def get
              "Hello World #{Time.now} !"
            end
          end
        end

        Capcode.run( )

Running Capcode Apps

REQUIREMENTS:

  • rack

INSTALL:

  sudo gem install capcode

LICENSE:

Capcode is freely distributable according to the terms of the GNU General Public License.

This program is distributed without any warranty. See the file ‘COPYING’ for details.