RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Well-behaved Ruby Objects: Equality

A “well-behaved” object in Ruby needs to understand What makes two Ruby objects “equal”? Which version of “equal” (there are several in Ruby)? What makes an object usable as a Hash key? And is that the same thing that makes them Comparable? https://stevenharman.net/well-behaved-ruby-object-equality

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in