Skip to content
jhamonPublic

About

Sortable is a small Ruby module containing my implementation of several common sorting methods. To use, include Sortable into the reopened Array class. Now with 100% RSpec coverage!

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sortable Build Status

Sortable is a small module containing several common sorting methods. I mostly wrote it as a way to learn about sorting algorithms, but if you want to use it simple reopen the Array class and include the module.

require 'sortable.rb'

class Array
  include Sortable
end

So far, I have completed the following methods:

  • bubblesort
  • insertion_sort
  • mergesort
  • quicksort

References:

About

Sortable is a small Ruby module containing my implementation of several common sorting methods. To use, include Sortable into the reopened Array class. Now with 100% RSpec coverage!

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages