* server.rb: Renamed from rubyserv.rb; s/RubyServ/Server/.
authorueno <ueno>
Thu, 11 Aug 2005 04:00:41 +0000 (04:00 +0000)
committerueno <ueno>
Thu, 11 Aug 2005 04:00:41 +0000 (04:00 +0000)
* riece-ruby.el (riece-ruby-server-program): Follow the filename
change.

lisp/ChangeLog
lisp/server.rb

index 0c498b8..68beb49 100644 (file)
@@ -1,6 +1,6 @@
 2005-08-11  Daiki Ueno  <ueno@unixuser.org>
 
-       * server.rb: Renamed from rubyserv.rb.
+       * server.rb: Renamed from rubyserv.rb; s/RubyServ/Server/.
        * riece-ruby.el (riece-ruby-server-program): Follow the filename
        change.
 
index cc29694..bedca01 100644 (file)
@@ -2,8 +2,8 @@
 
 require 'thread'
 
-class RubyServ
-  module C
+class Server
+  module B
   end
 
   def initialize
@@ -73,7 +73,7 @@ class RubyServ
     Thread.current[:rubyserv_name] = name
     begin
       Thread.current[:rubyserv_error] = false
-      Thread.current[:rubyserv_response] = eval(r, C.module_eval('binding()'))
+      Thread.current[:rubyserv_response] = eval(r, B.module_eval('binding()'))
     rescue Exception => e
       Thread.current[:rubyserv_error] = true
       Thread.current[:rubyserv_response] = e
@@ -145,8 +145,8 @@ class RubyServ
 end
 
 if $0 == __FILE__
-  serv = RubyServ.new
+  server = Server.new
   while gets
-    serv.dispatch($_)
+    server.dispatch($_)
   end
 end