Sha256: 7641ff317c9bda9f20c333fa9a0264f6c7c2893fbe30af23e46f078572f0cd41

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

module Jkf
  module Converter
    # Base of Converter
    class Base
      # start convert
      # 
      # @param [String, Hash] jkf
      # @return [String] kif or ki2 or csa text
      def convert(jkf)
        jkf = jkf.is_a?(Hash) ? jkf : JSON.parse(jkf)
        convert_root(jkf)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jkf-0.5.2 lib/jkf/converter/base.rb
jkf-0.5.1 lib/jkf/converter/base.rb