title: Most concise way to test string equality (not object equality) for Ruby strings or symbols?
body: <p>I always do this to test string equality in Ruby:</p>
  
  <pre><code>if mystring.eql?(yourstring)
   puts "same"
  else
   puts "different"
  end
  </code></pre>
  
  <p>Is this is the correct way to do this without testing object equality?</p>
  
  <p>I'm looking for the most concise way to test strings based on their content. </p>
  
  <p><em>With the parentheses and question mark, this seems a little clunky.</em></p>