https://github.com/ftomassetti/rubydiff
Find and list differences betweem Ruby objects
https://github.com/ftomassetti/rubydiff
Last synced: 8 months ago
JSON representation
Find and list differences betweem Ruby objects
- Host: GitHub
- URL: https://github.com/ftomassetti/rubydiff
- Owner: ftomassetti
- License: apache-2.0
- Created: 2013-10-28T18:40:28.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-06T11:23:14.000Z (almost 12 years ago)
- Last Synced: 2024-12-27T07:45:05.030Z (10 months ago)
- Language: Ruby
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rubydiff
========Find and list differences betweem Ruby objects
== Example
diffs = RubyDiff::Differ.diff({1=>'a',2=>'b',3=>'c'},{1=>'a',2=>'b',3=>'d'})
diff.to_s produces:main diffs: [], sub diffs: {
"key '3'\"=>main diffs: [[not_the_same] c vs d], sub diffs: {}
}