about summary refs log tree commit homepage
path: root/ext
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-24 04:31:37 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-24 04:31:37 +0000
commitb8b979d75519be1c84818f32b83d85f8ec5f6072 (patch)
treecd953846aa87b3a2b10ddce9f7e1b5e67354aec1 /ext
parent6f720afd95d8131a2657c643b97cb18c750ed9f8 (diff)
downloadunicorn-b8b979d75519be1c84818f32b83d85f8ec5f6072.tar.gz
It makes for messy documentation.
Diffstat (limited to 'ext')
-rw-r--r--ext/unicorn_http/unicorn_http.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/unicorn_http/unicorn_http.rl b/ext/unicorn_http/unicorn_http.rl
index f6c632f..1ad2a5d 100644
--- a/ext/unicorn_http/unicorn_http.rl
+++ b/ext/unicorn_http/unicorn_http.rl
@@ -684,7 +684,7 @@ void Init_unicorn_http(void)
 {
   VALUE mUnicorn, cHttpParser;
 
-  mUnicorn = rb_define_module("Unicorn");
+  mUnicorn = rb_const_get(rb_cObject, rb_intern("Unicorn"));
   cHttpParser = rb_define_class_under(mUnicorn, "HttpParser", rb_cObject);
   eHttpParserError =
          rb_define_class_under(mUnicorn, "HttpParserError", rb_eIOError);