Y
Hacker News
new
|
ask
|
show
|
jobs
by
p8
738 days ago
Squish also replaces consecutive whitespace with a single space. " foo bar \n \t boo".squish # => "foo bar boo"
https://api.rubyonrails.org/classes/String.html#method-i-squ...