Sha256: bd22e1838f93819e84cb1fff7110c7058001b8268900b124766985822e042734

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

# frozen_string_literal: true

require_relative "jisx0208/version"
require_relative "jisx0208/processor"

module JISX0208
  class Code
    def initialize
      @processor = Processor.new
    end

    def contains_first_level_kanji?(string)
      @processor.contains_first_level_kanji?(string)
    end

    def contains_second_level_kanji?(string)
      @processor.contains_seconde_level_kanji?(string)
    end

    def contains_jisx0208_kanji?(string)
      @processor.contains_jisx0208_kanji?(string)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jisx0208-0.1.1 lib/jisx0208.rb
jisx0208-0.1.0 lib/jisx0208.rb