Documentation is in rdoc. For a quick start look at bin/server.rb and bin/test.rb.