core/src/main/java/org/jruby/RubyObject.java
public static boolean equalInternal(final ThreadContext context, final IRubyObject a, final IRubyObject b) {
        if (a == b) return true;
        if (a instanceof RubySymbol) return false;

        return fastNumEqualInternal(context, a, b);
    }
/**
     * Helper method for checking equality, first using Java identity
     * equality, and then calling the "==" method.
     */
Helper method for checking equality, first using Java identity
equality, and then calling the "==" method.
Helper method for checking equality first using Java identity equality and then calling the " == " method .
public static boolean equalInternal(final ThreadContext context, final IRubyObject a, final IRubyObject b) {
        if (a == b) return true;
        if (a instanceof RubySymbol) return false;
        return fastNumEqualInternal(context, a, b);
    }
public static boolean equalInternal ( final ThreadContext context , final IRubyObject a , final IRubyObject b ) { if ( a == b ) return true ; if ( a instanceof RubySymbol ) return false ; return fastNumEqualInternal ( context , a , b ) ; }
Helper method for checking equality, first using Java identity
 equality, and then calling the "==" method.
Helper method for checking equality first using Java identity equality and then calling the " == " method .