module Ruborithms::Algorithms::SelectionSort
Public Class Methods
included(mod)
click to toggle source
# File lib/ruborithms/algorithms/selection_sort.rb, line 5 def included(mod) mod.extend(ClassMethods) end
Public Instance Methods
selection_sort()
click to toggle source
# File lib/ruborithms/algorithms/selection_sort.rb, line 38 def selection_sort self.class.selection_sort(self) end