Class: Spark::InternalSorter::Descending
- Defined in:
- lib/spark/sort.rb
Instance Method Summary collapse
Methods inherited from Base
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 |