Class: Async::List::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/async/list.rb

Overview

A linked list Node.

Instance Attribute Summary collapse

Instance Attribute Details

#headObject

Returns the value of attribute head.



235
236
237
# File 'lib/async/list.rb', line 235

def head
  @head
end

#tailObject

Returns the value of attribute tail.



236
237
238
# File 'lib/async/list.rb', line 236

def tail
  @tail
end