Module: Sanscript::Detect
- Defined in:
- lib/sanscript/detect.rb,
lib/sanscript/detect/ruby24.rb,
lib/sanscript/detect/ruby2x.rb
Overview
Transliteration scheme detection module. Developed from code available @ github.com/sanskrit/detect.js
Defined Under Namespace
Class Method Summary collapse
-
.detect_scheme(text) ⇒ Symbol?
Attempts to detect the encoding scheme of the provided string.
Class Method Details
.detect_scheme(text) ⇒ Symbol?
Attempts to detect the encoding scheme of the provided string.
Uses the most efficient implementation for your ruby version (either Sanscript::Detect::Ruby2x#detect_scheme or Sanscript::Detect::Ruby24#detect_scheme)
|
|
# File 'lib/sanscript/detect.rb', line 54
|