Sha256: 4efb830ed9998fa90c66a8e6b90724df640fb2043434d8a55c28e01427980ec8
Contents?: true
Size: 325 Bytes
Versions: 6
Compression:
Stored size: 325 Bytes
Contents
module MarkMapper module Normalizers class HashKey def initialize(keys) @keys = keys end # Public: Normalizes an options hash key # # key - The key to normalize # # Returns a Symbol. def call(key) @keys.fetch key.to_sym, key end end end end
Version data entries
6 entries across 6 versions & 1 rubygems