Registry / utility / contrast

contrast

JSON →
library1.1.0rbrubygemsunverified

Contrast two objects by a defined set of values.

gem install contrast
INSTALL
IMPORT
SIG · CONTRAST
C
contrast
utilityrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Contrast
✓ require 'contrast'

Compare two hashes and get the differences

require 'contrast' obj1 = { name: 'Alice', age: 30 } obj2 = { name: 'Bob', age: 25 } diff = Contrast.diff(obj1, obj2) puts diff
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
contrast — gem install contrast · libregistry