Update data_structures/linked_lists/circular_linked_list.rb

Co-authored-by: vzvu3k6k <vzvu3k6k@gmail.com>
This commit is contained in:
Vitor Oliveira 2021-02-13 09:47:50 -08:00 committed by GitHub
parent 36d8075f3f
commit baa7ca17b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ end
# Class for circular linked list (last node points to the head node)
class CircularList
attr_accessor :head
attr_reader :head
def initialize
@head = nil