summaryrefslogtreecommitdiff
path: root/ext/-test-/iter/break.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/iter/break.c')
-rw-r--r--ext/-test-/iter/break.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/iter/break.c b/ext/-test-/iter/break.c
index 56ba7e7..66ed26a 100644
--- a/ext/-test-/iter/break.c
+++ b/ext/-test-/iter/break.c
@@ -17,9 +17,9 @@ iter_break_value(VALUE self, VALUE val)
}
void
-Init_break(void)
+Init_break(VALUE klass)
{
- VALUE breakable = rb_define_module_under(rb_define_module("Bug"), "Breakable");
+ VALUE breakable = rb_define_module_under(klass, "Breakable");
rb_define_module_function(breakable, "iter_break", iter_break, 0);
rb_define_module_function(breakable, "iter_break_value", iter_break_value, 1);
}