module Ununiga::I18n::JosaTransformer

Public Instance Methods

transform(entry) click to toggle source
# File lib/ununiga/i18n/josa_transformer.rb, line 9
def transform(entry)
  if entry.is_a?(String) && I18n.locale.to_s =~ /ko|ko_KR/i
    return Ununiga::JosaPicker.new(entry).takewell
  end
  entry
end
translate(*args) click to toggle source
Calls superclass method
# File lib/ununiga/i18n/josa_transformer.rb, line 5
def translate(*args)
  transform(super)
end