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