Sha256: 813280f0d83bd19995ab21ca218e0a1fbcc6ba77bc9b25041d6ce9a961e21aca
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
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 def only_first_level_kanji?(string) @processor.only_first_level_kanji?(string) end def only_second_level_kanji?(string) @processor.only_second_level_kanji?(string) end def only_jisx0208_kanji?(string) @processor.only_jisx0208_kanji?(string) end def contains_jisx0208?(string) @processor.contains_jisx0208?(string) end def only_jisx0208?(string) @processor.only_jisx0208?(string) end def only_common_japanese_characters?(string) @processor.only_common_japanese_characters?(string) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jisx0208-0.4.1 | lib/jisx0208.rb |
jisx0208-0.4.0 | lib/jisx0208.rb |