String#squish
Returns a version of the given string without leading or trailing whitespace, and combines all consecutive whitespace in the interior to single spaces. Destructive version squish! operates directly on the string instance.
Handles both ASCII and Unicode whitespace.
%{ Multi-line
...