1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
class Server def process_http_request lookup.respond_with(Responder) end def lookup LookupFactory.lookup_for(nick) end def nick Nickname.new(request.address) end def request Request.new(params) end end