class Jkf::Converter::Base

Base of Converter

Public Instance Methods

convert(jkf) click to toggle source

start convert

@param [String, Hash] jkf @return [String] kif or ki2 or csa text

# File lib/jkf/converter/base.rb, line 8
def convert(jkf)
  jkf = jkf.is_a?(Hash) ? jkf : JSON.parse(jkf)
  convert_root(jkf)
end