From e06ba228819841e2a245f8e4100c651ee4653be8 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 16 Jul 2009 15:45:54 -0300 Subject: [PATCH] ActionItem1169: using dup instead of clone --- lib/noosfero/core_ext/string.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/noosfero/core_ext/string.rb b/lib/noosfero/core_ext/string.rb index 94abad4..3a8f40c 100644 --- a/lib/noosfero/core_ext/string.rb +++ b/lib/noosfero/core_ext/string.rb @@ -27,7 +27,7 @@ class String # Don't abuse this method. def transliterate - new = self.clone + new = self.dup TRANSLITERATIONS.each { |from,to| from.each { |seq| new.gsub!(seq, to) -- libgit2 0.21.2