Sha256: 8ce6ed248bcee271d4e0f4c615691a1533ea423aded1dc44cdaa1d3358202395
Contents?: true
Size: 564 Bytes
Versions: 7
Compression:
Stored size: 564 Bytes
Contents
# frozen_string_literal: true module Pennyworth module CLI module Actions module System # Handles the signal action. class Signals def initialize processor: Processor.for_system_signals, container: Container @processor = processor @container = container end def call = processor.call.to_json.then { |json| logger.info { json } } private attr_reader :processor, :container def logger = container[__method__] end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems