Advertisement
Guest User

Untitled

a guest
Jul 7th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.21 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement