App Academy

Doubt in Enumerables project of Ruby section

In the Enumerables project, we have to first create a function my_each and pass it a block. This method works fine and later we have to create another separate function my_select where we are are again passing a block and the program is telling us to use the previously created my_each function. When I checked the solution, they are using the my_each function but are not passing it any block when using it in my_select. Shouldn’t this give out error?