This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# possible solution for http://www.ruby-forum.com/topic/145570#887369 by Sergio Bayona | |
require 'test/unit' | |
# precondition: to_combine is expected to be in the format given below | |
# to_combine = [ set1 , set2 , ... , setn ] | |
# set = { key => values } | |
# key = any object with hash and eql? methods | |
# values = [ obj1 , obj2 , ... , objn ] | |
# obj = any ruby object |
NewerOlder