I am writing a script where I would like to use the .intersection method on Array. But when I call the method on an array I get NoMethodError. See full IRB outp
NoMethodError