Flowdock
method

squish!

Importance_1
v4.2.7 - Show latest stable - 0 notes - Class: String
squish!() public

Performs a destructive squish. See String#squish.

str = " foo   bar    \n   \t   boo"
str.squish!                         # => "foo bar boo"
str                                 # => "foo bar boo"
Show source
Register or log in to add new notes.