Examine each of the following Ruby scripts. Read the code, run them, change the code; experiment with them and try to understand what is going on.
In order:
- for.rb
- content_tag1.rb
- content_tag2.rb
- content_tag3.rb
-
Think of questions!
-
Attempt to define the for_each_in method in for_each_in.rb