repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git]
/
sample
/
webrick
/
hello.rb
blob
4d026768182aa7d65a707b426a9ef4de20baf77c
1
require "webrick"
2
3
class HelloServlet < WEBrick::HTTPServlet::AbstractServlet
4
def do_GET(req, res)
5
res["content-type"] = "text/plain"
6
res.body = "Hello, world.\n"
7
end
8
end