diff options
Diffstat (limited to 'Blocks/syntax/tests/webrick.rb')
-rw-r--r-- | Blocks/syntax/tests/webrick.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Blocks/syntax/tests/webrick.rb b/Blocks/syntax/tests/webrick.rb deleted file mode 100644 index 0b3c93c..0000000 --- a/Blocks/syntax/tests/webrick.rb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | require 'webrick' | ||
2 | include WEBrick | ||
3 | |||
4 | s = HTTPServer.new( | ||
5 | :Port => 2010, | ||
6 | :DocumentRoot => Dir::pwd | ||
7 | ) | ||
8 | s.mount('/sh/scripts', WEBrick::HTTPServlet::FileHandler, '../scripts') | ||
9 | s.mount('/sh/styles', WEBrick::HTTPServlet::FileHandler, '../styles') | ||
10 | trap('INT') { s.stop } | ||
11 | s.start | ||