Skip to content

Instantly share code, notes, and snippets.

Created November 3, 2013 13:55
Show Gist options
  • Save anonymous/7290489 to your computer and use it in GitHub Desktop.
Save anonymous/7290489 to your computer and use it in GitHub Desktop.
class TestClass < BasicObject
end
new_object = TestObject.new
"hello".eql? new_object
=> false
"hello" == new_object
NoMethodError: undefined method `respond_to?' for #<TestClass:0x7ea920>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment