Module: Kramdown::Utils::Unidecoder

Defined in:
lib/kramdown/utils/unidecoder.rb

Overview

Provides the ability to tranliterate Unicode strings into plain ASCII ones.

Constant Summary collapse

CODEPOINTS =
Hash.new do |h, k|
  h[k] = YAML.load_file(File.join(path, "stringex", "unidecoder_data", "#{k}.yml"))
end

Class Method Summary collapse

Class Method Details

.decode(string) ⇒ Object

Transliterate string from Unicode into ASCII.



34
35
36
# File 'lib/kramdown/utils/unidecoder.rb', line 34

def self.decode(string)
  string
end