Sha256: 38753c5945b84d2849e9848197220f46f150f8d815b2de46690e1331e620dbab
Contents?: true
Size: 1.5 KB
Versions: 2
Compression:
Stored size: 1.5 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>new (Mongrel::DirHandler)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre> <span class="ruby-comment cmt"># File lib/mongrel/handlers.rb, line 124</span> 124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">listing_allowed</span>=<span class="ruby-keyword kw">true</span>, <span class="ruby-identifier">index_html</span>=<span class="ruby-value str">"index.html"</span>) 125: <span class="ruby-ivar">@path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">path</span>) 126: <span class="ruby-ivar">@listing_allowed</span>=<span class="ruby-identifier">listing_allowed</span> 127: <span class="ruby-ivar">@index_html</span> = <span class="ruby-identifier">index_html</span> 128: <span class="ruby-ivar">@default_content_type</span> = <span class="ruby-value str">"text/plain; charset=ISO-8859-1"</span>.<span class="ruby-identifier">freeze</span> 129: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongrel-0.3.13.3 | doc/rdoc/classes/Mongrel/DirHandler.src/M000058.html |
mongrel-0.3.13.4 | doc/rdoc/classes/Mongrel/DirHandler.src/M000049.html |