Sha256: 5a86434875c51a4e676b43821223616f203087060050c63d44e7170221afa3e2
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
# frozen_string_literal: true require "active_support/core_ext/hash/indifferent_access" module Runger module Rails # Enhance config to be more Railsy-like: # – accept hashes with indeferent access # - load data from secrets # - recognize Rails env when loading from YML module Config module ClassMethods # Make defaults to be a Hash with indifferent access def new_empty_config {}.with_indifferent_access end end end end end Runger::Config.prepend Runger::Rails::Config Runger::Config.singleton_class.prepend Runger::Rails::Config::ClassMethods
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
runger_config-4.0.0 | lib/runger/rails/config.rb |