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:
- content_tag1.rb
- content_tag2.rb
- content_tag3.rb
- for.rb
- Think of questions!
- Attempt to define the
for_each_in
method in for_each_in.rb - Attempt to define the
select_from
method in select_from.rb - Attempt to define the
reject_from
method in select_from.rb - Attempt to define the
map_from
method in map_from.rb