module App::Config::TreatSymbolsAsStrings

Public Instance Methods

[](key) click to toggle source
# File lib/radiospieler/radiospieler/config.rb, line 44
def [](key)
  fetch(key) do
    case key
    when Symbol then fetch(key.to_s, nil)
    when String then fetch(key.to_sym, nil)
    end
  end
end