class String def trim_all self.gsub(/\s+/, "") end end