class Algoru::Node
Attributes
next[RW]
value[RW]
Public Class Methods
new(value, next_node = nil)
click to toggle source
# File lib/algoru/data_structure/linked_list/single_linked_list.rb, line 8 def initialize(value, next_node = nil) @value = value @next = next_node end