Sha256: 14eb61dd8d0d4dbb265642040c0f5698c66a8526a6f843744f545285973f54f4
Contents?: true
Size: 232 Bytes
Versions: 2
Compression:
Stored size: 232 Bytes
Contents
# frozen_string_literal: true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
g2_command-3.2.0 | lib/command/input_middleware/symbolizer.rb |
g2_command-3.1.0 | lib/command/input_middleware/symbolizer.rb |