Sha256: 10a0ee0663dcfc8c4ee03bd6a226ff7d67221a6101d4fed718d0cd31d288ec16
Contents?: true
Size: 560 Bytes
Versions: 9
Compression:
Stored size: 560 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
9 entries across 9 versions & 1 rubygems