lib/pennyworth/cli/actions/system/signals.rb in pennyworth-14.2.1 vs lib/pennyworth/cli/actions/system/signals.rb in pennyworth-14.3.0
- old
+ new
@@ -4,17 +4,17 @@
module CLI
module Actions
module System
# Handles the signal action.
class Signals
- include Pennyworth::Import[:logger]
+ include Pennyworth::Import[:kernel]
def initialize(processor: Processor.for_system_signals, **)
super(**)
@processor = processor
end
- def call = processor.call.to_json.then { |json| logger.info { json } }
+ def call = kernel.puts processor.call.to_json
private
attr_reader :processor
end