Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
s = "abc"
s.class == String # => true
s.class === String # => false
String === s.class # => false
s === String # => false
String === s # => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.