class Thor::Arguments
def parse_array(name)
["a", "b", "c"]
And returns it as an array:
["a", "b", "c"]
found or a switch is found.
Runs through the argument array getting all strings until no string is
def parse_array(name) return shift if peek.is_a?(Array) array = [] array << shift while current_is_value? array end