str2 = digest(context, oth, null).convertToString();
} else {
str1 = to_s(context, self).convertToString();
str2 = oth.convertToString();
}
boolean ret = str1.bytesize().eql(str2.bytesize()) && (str1.eql(str2));
return ret ? context.runtime.getTrue() : context.runtime.getFalse();
}
@JRubyMethod()
public static IRubyObject inspect(ThreadContext context, IRubyObject self) {