Skip to content

Commit

Permalink
attr_reader :child_slots
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhull committed Jun 20, 2024
1 parent 6c31278 commit a389ea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/compsci/complete_tree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def self.generation(idx, n)
[level, n ** level]
end

attr_reader :array
attr_reader :array, :child_slots

def_delegators :@array,
:push, :pop, :shift, :unshift,
:size, :count, :first, :last, :[]
Expand Down

0 comments on commit a389ea8

Please sign in to comment.