doc/rdoc/classes/Mongrel/Configurator.src/M000101.html in mongrel-0.3.13.4 vs doc/rdoc/classes/Mongrel/Configurator.src/M000101.html in mongrel-1.0
- old
+ new
@@ -3,16 +3,17 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>load_yaml (Mongrel::Configurator)</title>
+ <title>uri (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/configurator.rb, line 221</span>
-221: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_yaml</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">default</span>={})
-222: <span class="ruby-identifier">default</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-constant">YAML</span>.<span class="ruby-identifier">load_file</span>(<span class="ruby-identifier">file</span>))
-223: <span class="ruby-keyword kw">end</span></pre>
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/configurator.rb, line 154</span>
+154: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uri</span>(<span class="ruby-identifier">location</span>, <span class="ruby-identifier">options</span>={})
+155: <span class="ruby-identifier">ops</span> = <span class="ruby-identifier">resolve_defaults</span>(<span class="ruby-identifier">options</span>)
+156: <span class="ruby-ivar">@listener</span>.<span class="ruby-identifier">register</span>(<span class="ruby-identifier">location</span>, <span class="ruby-identifier">ops</span>[<span class="ruby-identifier">:handler</span>], <span class="ruby-identifier">ops</span>[<span class="ruby-identifier">:in_front</span>])
+157: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file