require "al_template" require "al_form" require "al_worker_ipc" class AlController include AlWorker::IpcAction def initialize() @ipc = AlWorker::Ipc.open( "/tmp/count_server" ) end def action_index() @ipc.get_values() AlTemplate.run( "index.rhtml" ) end end