about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-07 15:23:01 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-07 15:48:41 -0700
commit00814d46e9e82fa24d38bd77172143df3757f020 (patch)
tree4b863bf027c03b54f4e4ddfe4f5919b8b23ddc4a
parent1d764d806b65d392fdb3f3dd8055ed18d42a5c2b (diff)
TODO: find a better way to do this...
-rw-r--r--ext/clogger_ext/clogger.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/clogger_ext/clogger.c b/ext/clogger_ext/clogger.c
index ae5e1bb..60292f9 100644
--- a/ext/clogger_ext/clogger.c
+++ b/ext/clogger_ext/clogger.c
@@ -758,11 +758,14 @@ static VALUE clogger_init_copy(VALUE clone, VALUE orig)
 static void init_rack_utils_header_hash(void)
 {
         VALUE mRack, mUtils;
-
+#if 0
+  extra " is to disable rdoc (and so is avoiding a /* comment */) here
+  let me know if there's a better way...
+#endif
         rb_require("rack");
-        mRack = rb_define_module("Rack");
-        mUtils = rb_define_module_under(mRack, "Utils");
-        cHeaderHash = rb_define_class_under(mUtils, "HeaderHash", rb_cHash);
+        mRack = rb_define_module("Rack""");
+        mUtils = rb_define_module_under(mRack, "Utils""");
+        cHeaderHash = rb_define_class_under(mUtils, "HeaderHash""", rb_cHash);
 }
 
 void Init_clogger_ext(void)