K
Kenosis
Greetings Rubyologists,
Suppose we have a simple array of arrays, e.g., [[1], [2], [3]]. What
would be the cleanest way, if it's possible, to remove the outter level
of array nesting such that the result is (a) a list of arrays: [1],
[2], [3], and (b) suitable for passing as a list of arrays to
GetoptLong. Thanks in advance for any help you can lend.
Ken
Suppose we have a simple array of arrays, e.g., [[1], [2], [3]]. What
would be the cleanest way, if it's possible, to remove the outter level
of array nesting such that the result is (a) a list of arrays: [1],
[2], [3], and (b) suitable for passing as a list of arrays to
GetoptLong. Thanks in advance for any help you can lend.
Ken