Manipulating nested arrays in Ruby is a pain and there doesn't seem to be any general purpose solutions (i.e. not math-oriented) available so here is a shot at it.
Required Ruby Version
>= 0
Authors
Sylvain Leclercq
Manipulating nested arrays in Ruby is a pain and there doesn't seem to be any general purpose solutions (i.e. not math-oriented) available so here is a shot at it.
>= 0
Sylvain Leclercq