Preferably in Ruby
I need a way to determine if one array is a "subarray" of another array when order matters
For instance,
a = ["1", "4", "5", "7", "10"]
b = ["1", "4", "5"]
c = ["1", "5", "4"]
d = ["1", "5", "10"]
a includes b = true
a includes c = false
a include d = false
Thanks in advance.