t6d / smart_properties

Ruby accessors on steroids
MIT License
177 stars 20 forks source link

SmartProperties::Plugins::Equality #83

Closed t6d closed 3 years ago

t6d commented 3 years ago

Simple plugin for comparing objects based on their properties. Each property is compared using the values underlying == operator. The two objects are considered equal if all of their property values are equal.

Co-authored-by: Vivek Wassan vivek.wassan@shopify.com