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