module Spark::InternalSorter
Public Class Methods
get(ascending, key_function)
click to toggle source
# File lib/spark/sort.rb, line 22 def self.get(ascending, key_function) if ascending type = Ascending else type = Descending end type.new(key_function) end