Module: NaturalSort::Kernel

Defined in:
lib/natural_sort/kernel.rb

Overview

Public: Adds #natural_sort instance method to Ruby Kernel enumerable objects.

Examples

require 'natural_sort_kernel'
defined?(NaturalSort::Kernel)      #=> true
['a', 'b', 'A', 'B'].natural_sort  #=> ['A', 'a', 'B', 'b']