# File lib/stringex/unidecoder.rb, line 91 91: def with_locale(new_locale, &block) 92: new_locale = default_locale if new_locale == :default 93: original_locale = locale 94: self.locale = new_locale 95: block.call 96: self.locale = original_locale 97: end