Skip to content

Instantly share code, notes, and snippets.

@apeiros
Created March 1, 2014 13:05
Show Gist options
  • Save apeiros/9289539 to your computer and use it in GitHub Desktop.
Save apeiros/9289539 to your computer and use it in GitHub Desktop.
def ==(other)
other.data == @data
rescue NoMethodError
false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment