class String
Public Instance Methods
output_to_array()
click to toggle source
# File lib/lsl/shell.rb, line 4 def output_to_array split("\n").select { |x| x.present? }.map { |x| x.strip } end
# File lib/lsl/shell.rb, line 4 def output_to_array split("\n").select { |x| x.present? }.map { |x| x.strip } end