Class: ClosestNeighbours::DefaultOrder
- Inherits:
-
Object
- Object
- ClosestNeighbours::DefaultOrder
- Defined in:
- lib/closest_neighbours/orderers/default_order.rb
Overview
The default order of enumberales
Instance Method Summary collapse
Instance Method Details
#call(data = []) ⇒ Object
6 7 8 |
# File 'lib/closest_neighbours/orderers/default_order.rb', line 6 def call(data = []) data.to_a end |