# File lib/rhc/helpers.rb, line 524 def split_path(s, keep_quotes=false) #:nocov: if keep_quotes s.split(/\s(?=(?:[^"]|"[^"]*")*$)/) elsif RUBY_VERSION.to_f < 1.9 CSV::parse_line(s, fs = ' ') else #ruby 1.9 or newer CSV::parse_line(s, :col_sep => ' ') end #:nocov: end