Sha256: 15f5179c5e13e21d9e91c3402d3a4e5a5338b1ad96aa694e565e74bb010fe340
Contents?: true
Size: 295 Bytes
Versions: 4
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true module Rails::ApplicationExtension def config_for(name, env: Rails.env) data = ConfigDefault.load(name, key: env, deep_symbolize_keys: true) ActiveSupport::OrderedOptions.new.merge(data) end end Rails::Application.prepend(Rails::ApplicationExtension)
Version data entries
4 entries across 4 versions & 1 rubygems