Sha256: 49f1a0883ff341e5958b78fd95d9f514453ef55c577836ca320b4d66a9d225d4
Contents?: true
Size: 246 Bytes
Versions: 1
Compression:
Stored size: 246 Bytes
Contents
module RubyPitaya module ConfigHashExtension def [](key) super(key.to_sym) end def fetch(*args) args[0] = args[0].to_sym super(*args) end def dig(*args) super(*args.map(&:to_sym)) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubypitaya-3.15.0 | ./lib/rubypitaya/core/config_hash_extension.rb |