Class: Spark::InternalSorter::Descending

Inherits:
Ascending show all
Defined in:
lib/spark/sort.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Spark::InternalSorter::Base

Instance Method Details

#sort(data) ⇒ Object



16
17
18
19
# File 'lib/spark/sort.rb', line 16

def sort(data)
  super
  data.reverse!
end