Skip to content

Commit 0f6fd5b

Browse files
Update ruby-implementation.md
1 parent e740666 commit 0f6fd5b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

linked-lists/ruby-implementation.md

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ class Node
1010
@value = value
1111
@next = nil
1212
end
13-
def to_s
14-
"Node with value: #{@value}"
15-
end
1613
end
1714

1815
# Linked List class: knows where the HEAD node is, and uses that position to add, remove, and look through values in the chain of nodes.

0 commit comments

Comments
 (0)