doc/rdoc/classes/Mongrel/HttpParser.src/M000002.html in mongrel-0.2.2 vs doc/rdoc/classes/Mongrel/HttpParser.src/M000002.html in mongrel-0.3
- old
+ new
@@ -3,27 +3,26 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>reset (Mongrel::HttpParser)</title>
+ <title>new (Mongrel::HttpParser)</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>/**
* call-seq:
- * parser.reset -> nil
+ * parser.new -> parser
*
- * Resets the parser to it's initial state so that you can reuse it
- * rather than making new ones.
+ * Creates a new parser.
*/
-VALUE HttpParser_reset(VALUE self)
+VALUE HttpParser_init(VALUE self)
{
http_parser *http = NULL;
DATA_GET(self, http_parser, http);
http_parser_init(http);
- return Qnil;
+ return self;
}</pre>
</body>
</html>
\ No newline at end of file