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
46 47 48 |
# File 'lib/rake/invocation_chain.rb', line 46 def append(invocation) conj(invocation) end |
#member?(obj) ⇒ Boolean
42 43 44 |
# File 'lib/rake/invocation_chain.rb', line 42 def member?(obj) false end |
#to_s ⇒ Object
50 51 52 |
# File 'lib/rake/invocation_chain.rb', line 50 def to_s "TOP" end |