Time to put on that thinking cap and flex that gray matter. Remember, in order to really understand the material, you should attempt to complete the following exercises. None of them should take too long, and you have my permission to peek at the solutions if you get stuck.
Implement Array#map using Array#each:
|||%w(look ma no for loops).map do |x||
This should return ["LOOK", "MA", "NO", "FOR", "LOOPS"].
|||"Nothing lasts forever but cold November Rain".each_word do |x||
This should output:
It’s your turn to implement File.open. Start off with the Ruby documentation. The key here is to understand ...