[Nitro] Problem on Nitro's tutorial, Part 2

George Moschovitis george.moschovitis at gmail.com
Fri Aug 5 14:04:33 EDT 2005


As I said have a look at the examples. Your code should be like this:

require 'nitro'
require 'feeds'

Nitro.run(Feeds)

there are alternative ways to do this, but this should get you started.

regards,
George.

> #!/usr/bin/env ruby
> require 'nitro'
> require 'feeds'
> a = App.new
> a.map['/feeds'] = Feeds
> a.start

-- 
http://www.gmosx.com
http://www.nitrohq.com
http://www.joy.gr




More information about the Nitro-general mailing list