Module: Yosina::Transliterators::Hyphens
- Defined in:
- lib/yosina/transliterators/hyphens.rb
Overview
Handle hyphen replacement with precedence logic
Defined Under Namespace
Classes: Transliterator
Constant Summary collapse
- DEFAULT_PRECEDENCE =
Default precedence of mappings (matching JavaScript default) rubocop:disable Naming/VariableNumber
[:jisx0208_90].freeze
Class Method Summary collapse
-
.call(options = {}) ⇒ Transliterator
Factory method to create a hyphens transliterator.
Class Method Details
.call(options = {}) ⇒ Transliterator
Factory method to create a hyphens transliterator
78 79 80 |
# File 'lib/yosina/transliterators/hyphens.rb', line 78 def self.call( = {}) Transliterator.new() end |