RubyGems Navigation menu

naturalsort 1.0.1

Examples: ['a1', 'a11', 'a12', 'a2', 'a21'] => ['a1', 'a2', 'a11', 'a12','a21'] ['a', 'b', 'c', 'A', 'B', 'C'] => ['A', 'a', 'B', 'b', 'C', 'c'] ['x__2', 'x_1'] => ['x_1', 'x__2'] == Features: * sort case insensitive * sort filename matching pattern "abc1", "abc12", "abc2" in the correct order * sort underscore insensitive == Synopsis: === Usage N°1 - Add to your ruby default objects Add natural sort methods to ruby default object (Array, Hash, etc...)

Gemfile:
=

install:
=

Versions:

  1. 1.3.0 October 19, 2024 (9 KB)
  2. 1.2.0 January 26, 2015 (11.5 KB)
  3. 1.1.1 July 21, 2010 (8.5 KB)
  4. 1.1.0 January 07, 2008* (7.5 KB)
  5. 1.0.1 December 17, 2007* (7.5 KB)
Show all versions (6 total)

Runtime Dependencies (1):

hoe >= 1.3.0

Owners:

Authors:

  • Benjamin Francisoud

SHA 256 checksum:

=

Total downloads 427,117

For this version 3,711

Version Released:

Licenses:

N/A

Required Ruby Version: > 0.0.0

Links: