# File lib/powerpack/string/remove_suffix.rb, line 19 def remove_suffix!(pattern) gsub!(/#{pattern}\z/, '') self end