Sha256: faf631869521e7da559339f9ba9219d5982c57490fb21f91bef4f61f9472c6c4
Contents?: true
Size: 256 Bytes
Versions: 19
Compression:
Stored size: 256 Bytes
Contents
module Percheron module ConfigDelegator def def_config_item_with_default(config, default, *symbols) symbols.each do |symbol| define_method(symbol) do send(config).fetch(symbol, default) end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems