Subject: The Easiest way to check if one array is a subset of another
From: "Thriving K." <superdisconnect@ t i c >
Date: Tue, 4 Aug 2009 14:12:38 +0900
I want to find the easiest way if one array is a subset of another
for example
A b
[1,2,4,5,6,7,9] [1,3,9] =>true
A b
[1,2,4,5,6,7,9] [1,3,8] =>false
--
Posted via http://www.ruby-forum.com/.