class
Rake::LinkedList::EmptyLinkedList
v2_1_10 -
Show latest stable
- Superclass: Rake::LinkedList
Represent an empty list, using the Null Object Pattern.
When inheriting from the LinkedList class, you should implement a type specific Empty class as well. Make sure you set the class instance variable @parent to the assocated list class (this allows conj, cons and make to work polymorphically).
Files
- lib/rake/linked_list.rb