Sha256: 3567aaa853ded610a20f5ace714309ebe99de5e4fd26133b976b2c63a2126c61
Contents?: true
Size: 471 Bytes
Versions: 3
Compression:
Stored size: 471 Bytes
Contents
# frozen_string_literal: true module Pennyworth module CLI module Actions # Handles the encodings action. class Encodings include Pennyworth::Import[:logger] def initialize(processor: Processor.for_encodings, **) super(**) @processor = processor end def call = processor.call.to_json.then { |json| logger.info { json } } private attr_reader :processor end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pennyworth-14.2.1 | lib/pennyworth/cli/actions/encodings.rb |
pennyworth-14.2.0 | lib/pennyworth/cli/actions/encodings.rb |
pennyworth-14.1.2 | lib/pennyworth/cli/actions/encodings.rb |