Method: Tk::EncodedString.new_with_utf_backslash

Defined in:
lib/tk/encodedstr.rb

.new_with_utf_backslash(str, enc = nil) ⇒ Object



60
61
62
# File 'lib/tk/encodedstr.rb', line 60

def self.new_with_utf_backslash(str, enc = nil)
  self.new('', enc).replace(self.subst_utf_backslash(str))
end