# File lib/powerpack/string/remove_suffix.rb, line 9 def remove_suffix(pattern) dup.remove_suffix!(pattern) end