Object Equality in Ruby
In Ruby, as any classes inherit directly (or not) from the Object class, then the object equality logic is implemented between the Kernel module and the BasicObject class.
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!
In Ruby, as any classes inherit directly (or not) from the Object class, then the object equality logic is implemented between the Kernel module and the BasicObject class.
Post a comment