How do you compare variables that store Chinese strings with constants that store Chinese strings in ruby

  question, ruby

How do you compare variables that store Chinese strings with constants that store Chinese strings in ruby

All the values in Ruby are objects, and there is no argument about variable constants, but there is a warning when you modify the reference content with “constants” defined by capital letters.

So, you use it directly==Just compare it directly.