summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-08 05:00:25 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-08 05:00:25 +0000
commita69b9bce318b3d4717b92a8747ecdb4e71585c5d (patch)
treef12f100a2b4900f3533586fa342cad65713f7855 /numeric.c
parenta3da8465b4406e01b9b597e0af81dad3f65c5528 (diff)
downloadruby-a69b9bce318b3d4717b92a8747ecdb4e71585c5d.tar.gz
2000-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numeric.c b/numeric.c
index 28ecba54d3..20dff3a833 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1430,6 +1430,7 @@ Init_Numeric()
rb_define_method(rb_cNumeric, "+@", num_uplus, 0);
rb_define_method(rb_cNumeric, "-@", num_uminus, 0);
+ rb_define_method(rb_cNumeric, "===", num_equal, 1);
rb_define_method(rb_cNumeric, "eql?", num_eql, 1);
rb_define_method(rb_cNumeric, "divmod", num_divmod, 1);
rb_define_method(rb_cNumeric, "abs", num_abs, 0);