Sha256: 198c9d1d27991a69746234d55e5d589f05d7c6d28be4281ff9574fe1dbfde5f3
Contents?: true
Size: 544 Bytes
Versions: 10
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true require "sod" module Pennyworth module CLI module Actions # Handles the encoding action. class Encoding < Sod::Action include Import[:io] description "Render Alfred encodings script filter." on "--encodings" def initialize(processor: Processor.for_encodings, **) super(**) @processor = processor end def call(*) = io.puts processor.call.to_json private attr_reader :processor end end end end
Version data entries
10 entries across 10 versions & 1 rubygems