Class: Rake::InvocationChain::EmptyInvocationChain
- Inherits:
-
LinkedList::EmptyLinkedList
- Object
- LinkedList
- LinkedList::EmptyLinkedList
- Rake::InvocationChain::EmptyInvocationChain
- Defined in:
- lib/rake/invocation_chain.rb
Overview
Null object for an empty chain.
Instance Attribute Summary
Attributes inherited from LinkedList
Instance Method Summary collapse
Methods inherited from LinkedList::EmptyLinkedList
Methods inherited from LinkedList
#==, #conj, cons, #each, empty, #empty?, #inspect, make
Constructor Details
This class inherits a constructor from Rake::LinkedList::EmptyLinkedList
Instance Method Details
#append(invocation) ⇒ Object
45 46 47 |
# File 'lib/rake/invocation_chain.rb', line 45 def append(invocation) conj(invocation) end |
#member?(obj) ⇒ Boolean
41 42 43 |
# File 'lib/rake/invocation_chain.rb', line 41 def member?(obj) false end |
#to_s ⇒ Object
49 50 51 |
# File 'lib/rake/invocation_chain.rb', line 49 def to_s "TOP" end |