class Algorithmable::DataStructs::Heap::Min
Public Class Methods
new(collection = [])
click to toggle source
Calls superclass method
Algorithmable::DataStructs::Heap::Imp::new
# File lib/algorithmable/data_structs/heap/min.rb, line 5 def initialize(collection = []) super(collection) do |this, other| (this <=> other) > 0 end end