# File lib/lucky_sneaks/string_extensions.rb, line 107 107: def convert_smart_punctuation 108: dummy = dup 109: { 110: 111: "(“|”|\302\223|\302\224)" => '"', 112: "(‘|’|\302\221|\302\222)" => "'", 113: "…" => "...", 114: }.each do |smart, normal| 115: dummy.gsub!(/#{smart}/, normal) 116: end 117: dummy 118: end