Sha256: 6178e1767b0b14bfce9623788a079dbcaa56b4c8649937cbba05b39151883142
Contents?: true
Size: 512 Bytes
Versions: 7
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true module Pennyworth module CLI module Actions # Handles the encodings action. class Encodings def initialize processor: Processor.for_encodings, 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
Version data entries
7 entries across 7 versions & 1 rubygems