Sha256: ed46a10dbead421d3042ebda0525b5f3395d28d6b4f4f80a528c953f25a41f1c
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
# frozen_string_literal: true # # Copyright (c) 2019-present, Blue Marble Payroll, LLC # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # module Proforma module CoreExt # Monkey-patches for the core Hash class. These will be manually mixed in separately. module Hash unless method_defined?(:symbolize_keys) def symbolize_keys map { |k, v| [k.to_sym, v] }.to_h end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
proforma-1.0.0.pre.alpha | lib/proforma/core_ext/hash.rb |