This join/split seems unnecessary, could you just do:

    is_arr = is.is_a?(Array) ? is : is.split(/\s+/)