Sha256: 17efd1e7b0ee933f0649a6a8f299aa2c5ca4a84cef2720acf0d5ace97aa20b22
Contents?: true
Size: 339 Bytes
Versions: 5
Compression:
Stored size: 339 Bytes
Contents
module Amakanize module Filters class SpaceDeletionFilter < BaseFilter # @note Override # @param output [String] e.g. `"渡 航"` # @return [Hash] e.g. `"渡航"` def call(context:, output:) { context: context, output: output.gsub(/\s+/, ""), } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems