Sha256: 3b374015e12491a0f905b694c3c9fc485490b3e9d0ddd40ce698c1b7eee2d778
Contents?: true
Size: 613 Bytes
Versions: 10
Compression:
Stored size: 613 Bytes
Contents
# frozen_string_literal: true require "sod" module Pennyworth module CLI module Actions module System # Handles the system error action. class Error < Sod::Action include Import[:io] description "Render Alfred system errors script filter." on "--system_errors" def initialize(processor: Processor.for_system_errors, **) super(**) @processor = processor end def call(*) = io.puts processor.call.to_json private attr_reader :processor end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems