Kevin ochieng
Sep 3, 2018 · 1 min read

Hello YiChi Lin,

Thanks for reading for reading my blog and am glad you found it helpful.

About your question, did you define the my_each method with &blockas its parameter. After which you call the my_each method passing it a block.

Because your error suggests that the my_each method was not defined that why it wasn’t found.