class TrickBag::Collections::LinkedList::Node

Attributes

next[RW]
value[RW]

Public Class Methods

new(value, next_node = nil) click to toggle source
# File lib/trick_bag/collections/linked_list.rb, line 11
def initialize(value, next_node = nil)
  @value = value
  @next = next_node
end