I think that implementing = and hash is almost always wrong. So I guess the answer is no :)
Norbert > Am 07.02.2018 um 17:10 schrieb Herbert Vojčík <he...@mailbox.sk>: > > Hi! > > Do you think it would be reasonable to have, a la "generate accessors" / > "generate initialize method", a "generate equality" thingie that would > generate #= and #hash for the method, mechanically? > > Just created a new "piece of data" class and felt like it would be helpful. > > Herby