SHARE
TWEET

Untitled

a guest Jul 7th, 2016 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. array_1 = [1,2,3]
  2. array_2 = [4,5,6]
  3. array_3 = [7,8,9]
  4. hash = [{a: 1, b: 4, c: 7}]
  5.  
  6. values = (1,4,7) -> valid
  7.  
  8. values = (0,4,7) -> not valid because array_1 does not contain first value
  9. values = (1,4,7) -> is ok
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top