Ruby - Classes and Objects
Which Ruby method would you use to check if two strings have the same content but might be different objects?
== method compares the content or value of two objects, like strings.equal? checks if they are the same object, not just same content.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions