Sha256: b57c931fa6d4cb8c8465143c1073503a364305d29cbd0eb68fdfeef37a637b74
Contents?: true
Size: 571 Bytes
Versions: 10
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true require "sod" module Pennyworth module CLI module Actions # Handles the system error action. class StandardError < Sod::Action include Import[:io] description "Render Alfred standard errors script filter." on "--standard_errors" def initialize(processor: Processor.for_standard_errors, **) 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