class Algorithmable::DataStructs::Heap::Min

Public Class Methods

new(collection = []) click to toggle source
# File lib/algorithmable/data_structs/heap/min.rb, line 5
def initialize(collection = [])
  super(collection) do |this, other|
    (this <=> other) > 0
  end
end