lib/arxiv/string_scrubber.rb in arxiv-0.0.4 vs lib/arxiv/string_scrubber.rb in arxiv-0.0.5

- old
+ new

@@ -1,7 +1,7 @@ module Arxiv class StringScrubber - def self.scrub(string) + def self.scrub(string) string.gsub("\n", ' ').strip.squeeze(" ") end end end \ No newline at end of file