Class: Rake::InvocationChain::EmptyInvocationChain

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Rake::LinkedList::EmptyLinkedList
Defined in: lib/rake/invocation_chain.rb


Null object for an empty chain.

Constant Summary

::Rake::LinkedList - Inherited


Class Method Summary

::Rake::LinkedList::EmptyLinkedList - Inherited

::Rake::LinkedList - Inherited


Cons a new head onto the tail list.


The standard empty list class for the given ::Rake::LinkedList class.


Make a list out of the given arguments.


Instance Attribute Summary

::Rake::LinkedList::EmptyLinkedList - Inherited

::Rake::LinkedList - Inherited


Is the list empty? .make guards against a list being empty making any instantiated ::Rake::LinkedList object not empty by default You should consider overriding this method if you implement your own .make method.

#head, #tail

Instance Method Summary

::Rake::LinkedList - Inherited


Lists are structurally equivalent.


Polymorphically add a new element to the head of a list.


For each item in the list.


Same as #to_s, but with inspected items.


Convert to string: LL(item, item…).

Constructor Details

This class inherits a constructor from Rake::LinkedList::EmptyLinkedList

Instance Method Details


[ GitHub ]

# File 'lib/rake/invocation_chain.rb', line 46

def append(invocation)

#member?(obj) ⇒ Boolean

[ GitHub ]

# File 'lib/rake/invocation_chain.rb', line 42

def member?(obj)


[ GitHub ]

# File 'lib/rake/invocation_chain.rb', line 50

def to_s