core/src/main/java/org/jruby/RubyBasicObject.java
@Override
    @JRubyMethod(name = "==")
    public IRubyObject op_equal(ThreadContext context, IRubyObject obj) {
        return this == obj ? context.tru : context.fals;
    }
/** rb_obj_equal
     *
     * Will by default use identity equality to compare objects. This
     * follows the Ruby semantics.
     *
     * The name of this method doesn't follow the convention because hierarchy problems
     */
rb_obj_equal
Will by default use identity equality to compare objects. This
follows the Ruby semantics.

The name of this method doesn't follow the convention because hierarchy problems
rb_obj_equal Will by default use identity equality to compare objects . This follows the Ruby semantics . The name of this method doesn ' t follow the convention because hierarchy problems
@Override
    @JRubyMethod(name = "==")
    public IRubyObject op_equal(ThreadContext context, IRubyObject obj) {
        return this == obj ? context.tru : context.fals;
    }
@ Override @ JRubyMethod ( name = "==" ) public IRubyObject op_equal ( ThreadContext context , IRubyObject obj ) { return this == obj ? context . tru : context . fals ; }
rb_obj_equal
 Will by default use identity equality to compare objects.
rb_obj_equal Will by default use identity equality to compare objects .