Sha256: bdb4ae2f34fd983fd60e92e4071f1d978e65ff6517fde35ac646f21f61b182dd
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 Bytes
Contents
module Configurations module Maps module Writers class Default def initialize(&block) @entry_block = block end def write(map, path, value) map[path.to_s] = @entry_block.call(value) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
configurations-2.2.2 | lib/configurations/maps/writers/default.rb |
configurations-2.2.1 | lib/configurations/maps/writers/default.rb |