Class: Set

Inherits:
Object
  • Object
show all
Includes:
NaturalSort
Defined in:
lib/natural_sort_kernel.rb

Overview

Set.new([‘a’, ‘b’, ‘c’, ‘d’, ‘A’, ‘B’, ‘C’, ‘D’]).alphanum_sort #=> [‘A’, ‘a’, ‘B’, ‘b’, ‘C’, ‘c’, ‘D’, ‘d’]

Constant Summary

Constants included from NaturalSort

NaturalSort::VERSION

Method Summary

Methods included from NaturalSort

#natural_sort, naturalsort