Ruby Plus #79: Ruby Design Pattern Series - Iterator
  • Video is free for view
  • Video is available for download
View_video

In this episode you will learn how easy and elegant it is to implement the Iterator GOF design pattern in Ruby.There are two types of Iterators:

  • External Iterator
  • Internal Iterator

In External Iterators a distinct controller controls the iteration whereas in Internal Iterator the iterator controls itself.



Tags: Ruby Plus, iterator, GoF, Ruby, Design Patterns

Level: any Date: July 04, 2008 Votes: 0 User: Dmytro Shteflyuk  Comments:
 
 

No Response(s) to this entry

Subscribe to comments with RSS.