MethodError: no method matching!

You are defining a function readData which takes four arguments and are calling it with two arguments?

3 Likes