lib/pennyworth/cli/actions/http_status.rb in pennyworth-16.7.0 vs lib/pennyworth/cli/actions/http_status.rb in pennyworth-17.0.0

- old
+ new

@@ -5,21 +5,21 @@ module Pennyworth module CLI module Actions # Handles the HTTP status action. class HTTPStatus < Sod::Action - include Import[:kernel] + include Import[:io] description "Render Alfred HTTP statuses script filter." on "--http_statuses" def initialize(processor: Processor.for_http_statuses, **) super(**) @processor = processor end - def call(*) = kernel.puts processor.call.to_json + def call(*) = io.puts processor.call.to_json private attr_reader :processor end