Sha256: 3e5972971390250b75c98840bd832d273045b12a57bef54c9ea074729cc5937c
Contents?: true
Size: 298 Bytes
Versions: 16
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true module JapanETC module EntranceOrExit ENTRANCE = '入口' EXIT = '出口' def self.from(text) case text when /入口/, /(入)/, '入' ENTRANCE when /出口/, /(出)/, '出' EXIT end end end end
Version data entries
16 entries across 16 versions & 1 rubygems