Sha256: bd4284b58b36dd26c7981280aae87cc908c394dddfb6bf849c2a5e621f17d2f3
Contents?: true
Size: 272 Bytes
Versions: 7
Compression:
Stored size: 272 Bytes
Contents
# frozen_string_literal: true require 'active_support/core_ext/hash' module Command module InputMiddleware class Symbolizer def self.call(inputs) return inputs unless inputs.is_a?(Hash) inputs.to_h.symbolize_keys end end end end
Version data entries
7 entries across 7 versions & 1 rubygems