module OpenscapParser::Util
Public Instance Methods
newline_to_whitespace(string)
click to toggle source
# File lib/openscap_parser/util.rb, line 5 def newline_to_whitespace(string) string.gsub(/ *\n+/, " ").strip end