doc/rdoc/classes/Mongrel/Configurator.src/M000110.html in mongrel-0.3.13.1 vs doc/rdoc/classes/Mongrel/Configurator.src/M000110.html in mongrel-0.3.13.2

- old
+ new

@@ -3,18 +3,25 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>cloaking_class (Mongrel::Configurator)</title> + <title>new (Mongrel::Configurator)</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.rb, line 782</span> -782: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cloaking_class</span> -783: <span class="ruby-keyword kw">class</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span> -784: <span class="ruby-keyword kw">self</span> -785: <span class="ruby-keyword kw">end</span> -786: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/mongrel.rb, line 754</span> +754: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">defaults</span>={}, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>) +755: <span class="ruby-ivar">@listener</span> = <span class="ruby-keyword kw">nil</span> +756: <span class="ruby-ivar">@listener_name</span> = <span class="ruby-keyword kw">nil</span> +757: <span class="ruby-ivar">@listeners</span> = {} +758: <span class="ruby-ivar">@defaults</span> = <span class="ruby-identifier">defaults</span> +759: <span class="ruby-ivar">@needs_restart</span> = <span class="ruby-keyword kw">false</span> +760: <span class="ruby-ivar">@pid_file</span> = <span class="ruby-identifier">defaults</span>[<span class="ruby-identifier">:pid_file</span>] +761: +762: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">blk</span> +763: <span class="ruby-identifier">cloaker</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>).<span class="ruby-identifier">bind</span>(<span class="ruby-keyword kw">self</span>).<span class="ruby-identifier">call</span> +764: <span class="ruby-keyword kw">end</span> +765: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file