4 5 6
# File 'lib/lsl/shell.rb', line 4 def output_to_array split("\n").select { |x| x.present? }.map { |x| x.strip } end