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| if File.exists?(File.join(path, "stringex", "unidecoder_data", "#{k}.yml")) # RM h[k] = YAML::load(File.join(path, "stringex", "unidecoder_data", "#{k}.yml")) # RM end # RM end
Class Method Summary collapse
-
.decode(string) ⇒ Object
Transliterate string from Unicode into ASCII.
Class Method Details
.decode(string) ⇒ Object
Transliterate string from Unicode into ASCII.
35 36 37 |
# File 'lib/kramdown/utils/unidecoder.rb', line 35 def self.decode(string) string end |