public
Description: A Ruby clone of web.py
Homepage: http://giftedslacker.com/projects/webrb/
Clone URL: git://github.com/gaustin/web-rb.git
web-rb /
name age message
file README.markdown Loading commit data...
directory lib/ Fri Nov 14 21:00:59 -0800 2008 use default OPTIONS to configure web server [gaustin]

Web.rb: Web.py for Ruby

This is only a toy project at the moment. It's an exercise for me to learn more about Ruby.

Example Program:

urls = {
    '/', 'index',
    '/users', 'users',
}

class Index
    def get
        "<b>hello there, gentlemen!</b>"
    end
end

class Users
    def get
        "<b> you don't need this</b>"
    end
end

Web.start(urls)