Replace @node with local variable in linked_list.rb.