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_inmethod in for_each_in.rb - Attempt to define the
select_frommethod in select_from.rb - Attempt to define the
reject_frommethod in select_from.rb - Attempt to define the
map_frommethod in map_from.rb