Sha256: 0bf5868b7e4cb69ab7cbf121e460c92c0977a8bf7dff5779ba090b869f6e8b65
Contents?: true
Size: 579 Bytes
Versions: 7
Compression:
Stored size: 579 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[:kernel] description "Render Alfred standard errors script filter." on "--standard_errors" def initialize(processor: Processor.for_standard_errors, **) super(**) @processor = processor end def call(*) = kernel.puts processor.call.to_json private attr_reader :processor end end end end
Version data entries
7 entries across 7 versions & 1 rubygems