Class: ClosestNeighbours::SortedOrder
- Inherits:
-
Object
- Object
- ClosestNeighbours::SortedOrder
- Defined in:
- lib/closest_neighbours/orderers/sorted_order.rb
Overview
Sort an enumerator
Instance Method Summary collapse
Instance Method Details
#call(data = []) ⇒ Object
6 7 8 |
# File 'lib/closest_neighbours/orderers/sorted_order.rb', line 6 def call(data = []) data.sort end |