Sha256: 24d8b967504df7ad0643a9b5efb49dd24c7c793e9040493a853e89a75a3e9ac3
Contents?: true
Size: 403 Bytes
Versions: 6
Compression:
Stored size: 403 Bytes
Contents
require "amakanize/filters/base_filter" module Amakanize module Filters class StripFilter < ::Amakanize::Filters::BaseFilter # @note Override # @param output [String] e.g. `" ハノカゲ "` # @return [Hash] e.g. `"ハノカゲ"` def call(context:, output:) { context: context, output: output.strip, } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems