diff --git a/range.c b/range.c
index 422ed29..47e55c4 100644
--- a/range.c
+++ b/range.c
@@ -1119,31 +1119,6 @@ range_inspect(VALUE range)
/*
* call-seq:
* rng === obj -> true or false
- *
- * Returns true
if +obj+ is an element of the range,
- * false
otherwise. Conveniently, ===
is the
- * comparison operator used by case
statements.
- *
- * case 79
- * when 1..50 then print "low\n"
- * when 51..75 then print "medium\n"
- * when 76..100 then print "high\n"
- * end
- *
- * produces:
- *
- * high
- */
-
-static VALUE
-range_eqq(VALUE range, VALUE val)
-{
- return rb_funcall(range, rb_intern("include?"), 1, val);
-}
-
-
-/*
- * call-seq:
* rng.member?(obj) -> true or false
* rng.include?(obj) -> true or false
*
@@ -1333,7 +1308,7 @@ Init_Range(void)
rb_define_method(rb_cRange, "initialize", range_initialize, -1);
rb_define_method(rb_cRange, "initialize_copy", range_initialize_copy, 1);
rb_define_method(rb_cRange, "==", range_eq, 1);
- rb_define_method(rb_cRange, "===", range_eqq, 1);
+ rb_define_method(rb_cRange, "===", range_include, 1);
rb_define_method(rb_cRange, "eql?", range_eql, 1);
rb_define_method(rb_cRange, "hash", range_hash, 0);
rb_define_method(rb_cRange, "each", range_each, 0);