Sha256: 930fd2d1274d6910ffd7676e26f078535538ed2903fde8d03f74714b713a3ea0
Contents?: true
Size: 295 Bytes
Versions: 10
Compression:
Stored size: 295 Bytes
Contents
require 'rubygems' require 'capcode' require 'faye' module Capcode set :erb, "views" set :static, "public" use Faye::RackAdapter, :mount => '/comet' class Index < Route '/' def get @server = env['faye.server'] render :erb => :index end end end Capcode.run( )
Version data entries
10 entries across 10 versions & 1 rubygems