Class: Async::List::Node
- Inherits:
-
Object
- Object
- Async::List::Node
- Defined in:
- lib/async/list.rb
Overview
A linked list Node.
Instance Attribute Summary collapse
-
#head ⇒ Object
Returns the value of attribute head.
-
#tail ⇒ Object
Returns the value of attribute tail.
Instance Attribute Details
#head ⇒ Object
Returns the value of attribute head.
238 239 240 |
# File 'lib/async/list.rb', line 238 def head @head end |
#tail ⇒ Object
Returns the value of attribute tail.
239 240 241 |
# File 'lib/async/list.rb', line 239 def tail @tail end |