projects
/
elisp
/
riece.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b28ef0
)
Moved output() to Server::B.
author
ueno
<ueno>
Thu, 11 Aug 2005 04:10:28 +0000
(
04:10
+0000)
committer
ueno
<ueno>
Thu, 11 Aug 2005 04:10:28 +0000
(
04:10
+0000)
lisp/server.rb
patch
|
blob
|
history
diff --git
a/lisp/server.rb
b/lisp/server.rb
index
bedca01
..
7c8122f
100644
(file)
--- a/
lisp/server.rb
+++ b/
lisp/server.rb
@@
-4,6
+4,10
@@
require 'thread'
class Server
module B
+ def output(s)
+ puts("# output #{Thread.current[:rubyserv_name]} #{s}\r\n")
+ end
+ module_function :output
end
def initialize
@@
-120,10
+124,6
@@
class Server
s.gsub(/%([0-9A-Z][0-9A-Z])/, ['\1'].pack('H*'))
end
- def output(s)
- puts("# output #{Thread.current[:rubyserv_name]} #{s}\r\n")
- end
-
def send_data(d)
d = escape(d)
begin