summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-07-30 09:29:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-07-30 09:29:08 +0000
commitb516f1f25458c78974ff7dc5488b8dfaae997fae (patch)
tree35e450f06e9c523edc8a92168b90b4aa7d34af0d
parenta380f106fc9f0a5740e90f5435dad12390665998 (diff)
class/module comparison
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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