class String
Public Instance Methods
split_by_spaces_except_single_quoted()
click to toggle source
# File lib/logstash/inputs/nagioscheck.rb, line 96 def split_by_spaces_except_single_quoted self.split(/\s(?=(?:[^']|'[^']*')*$)/) end