Module: Ruborithms::Algorithms::SelectionSort

Defined in:
lib/ruborithms/algorithms/selection_sort.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



5
6
7
# File 'lib/ruborithms/algorithms/selection_sort.rb', line 5

def included(mod)
  mod.extend(ClassMethods)
end

Instance Method Details

#selection_sortObject



38
39
40
# File 'lib/ruborithms/algorithms/selection_sort.rb', line 38

def selection_sort
  self.class.selection_sort(self)
end