PHP Classes

File: doc/syntax_highlighter/tests/webrick.rb

Recommend this page to a friend!
  Classes of Everton da Rosa   PHP4Console   doc/syntax_highlighter/tests/webrick.rb   Download  
File: doc/syntax_highlighter/tests/webrick.rb
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP4Console
Render text and shapes in a terminal console
Author: By
Last change: Update of doc/syntax_highlighter/tests/webrick.rb
Date: 9 months ago
Size: 276 bytes
 

Contents

Class file image Download
require 'webrick' include WEBrick s = HTTPServer.new( :Port => 2010, :DocumentRoot => Dir::pwd ) s.mount('/sh/scripts', WEBrick::HTTPServlet::FileHandler, '../scripts') s.mount('/sh/styles', WEBrick::HTTPServlet::FileHandler, '../styles') trap('INT') { s.stop } s.start