Pierre wrote

> So you may code yourself your resize :
> 
> class Array
>   def resize(new_size, value=nil)
>     if new_size < length
>          slice!(new_size, length)
>     else
>          fill(value, -1, new_size-length)
>     end
>   self
>   end
> end

Yes, I can (in fact, I already did).

The question is more ideological than technical. Why not to have
Array#resize in standard library? It seems not very rational.
 
> Pierre

Victor.