class Node

Attributes

next[RW]
prev[RW]
value[RW]

Public Class Methods

new(value) click to toggle source

Creates a node for a linked/simple list .

@param value value to insert in the node, can be an object @return [Node] the node created.

# File lib/Node.rb, line 7
def initialize(value)
    @value = value
end