Commit a927325b18ef0a5107ee3b4c64bc3e7652a3fa8d
Exists in
master
and in
29 other branches
Merge branch 'stable'
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/core_ext/string.rb
@@ -27,7 +27,7 @@ class String | @@ -27,7 +27,7 @@ class String | ||
27 | # Don't abuse this method. | 27 | # Don't abuse this method. |
28 | def transliterate | 28 | def transliterate |
29 | 29 | ||
30 | - new = self.clone | 30 | + new = self.dup |
31 | TRANSLITERATIONS.each { |from,to| | 31 | TRANSLITERATIONS.each { |from,to| |
32 | from.each { |seq| | 32 | from.each { |seq| |
33 | new.gsub!(seq, to) | 33 | new.gsub!(seq, to) |