summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 9ec9ebb..319abd3 100644
--- a/object.c
+++ b/object.c
@@ -526,7 +526,7 @@ rb_mod_ge(mod, arg)
rb_raise(rb_eTypeError, "compared with non class/module");
}
- return rb_mod_lt(arg, mod);
+ return rb_mod_le(arg, mod);
}
static VALUE