each()
For each item in the list.
# File lib/rake/linked_list.rb, line 50 def each current = self while ! current.empty? yield(current.head) current = current.tail end self end