Feb. 8, 2018
4:07 a.m.
Hi Herbert, How the "generate equality" behavior would be the default? Mechanically = non-interactive? Cheers, Hernán 2018-02-07 13:10 GMT-03:00 Herbert VojÄÃk <herby@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