Skip to content

Commit

Permalink
Remove Enumerable from heap and priority queue (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
GarrisonJ authored Jan 18, 2024
1 parent d8834b2 commit eb97a37
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/containers/heap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
This library implements a Fibonacci heap, which allows O(1) complexity for most methods.
=end
class Containers::Heap
include Enumerable

# call-seq:
# size -> int
Expand Down
1 change: 0 additions & 1 deletion lib/containers/priority_queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
This container is implemented using the Fibonacci heap included in the Collections library.
=end
class Containers::PriorityQueue
include Enumerable

# Create a new, empty PriorityQueue
def initialize(&block)
Expand Down

0 comments on commit eb97a37

Please sign in to comment.