I am writing a new class that's implemented by a C extension module and I
want to provide an equality test operator. I see that Ruby's Object class
has several synonymous functions for this ("==", "===" and "eql?"). Is it
sufficient to define just one of these in the new class's methods table,
e.g.

    rb_define_method(cMyClass, "eql?", myEqualsFunc, 1);

That appears to be the case when I look at some of Ruby's built-in classes,
but I wanted to confirm that the "==" and "===" aliases are automatically
inherited from class Object.