class String
Public Instance Methods
squish()
click to toggle source
# File lib/fundler/fundler_utils.rb, line 8 def squish dup.squish! end
squish!()
click to toggle source
# File lib/fundler/fundler_utils.rb, line 12 def squish! strip! gsub!(/\s+/, ' ') self end