Skip to content

w15/blocks

 
 

Repository files navigation

Chunks of code as arguments

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
  1. Think of questions!
  2. Attempt to define the for_each_in method in for_each_in.rb
  3. Attempt to define the select_from method in select_from.rb
  4. Attempt to define the reject_from method in select_from.rb
  5. Attempt to define the map_from method in map_from.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.1%
  • Ruby 29.9%