module Spruz::Minimize

def unminimize

[ 1..2, 4..5 ].unminimize # => [ 1, 2, 4, 5 ]
and
[ 'A'..'C', 'G'..'G', 'K'..'M' ].unminimize # => [ 'A', 'B', 'C', 'G', 'K', 'L', 'M' ]
Invert a minimized version of an object. Some small examples:
def unminimize
  result = []
  for range in self
    for e in range
      result << e
    end
  end
  result
end