125 126 127 128
# File 'lib/rack/insight/config.rb', line 125 def self.new(key, expected) actual = Rack::Insight::Config.config[key].class super("Rack::Insight::Config.config[:#{key}] is invalid: Expected kind of #{expected} but got #{actual}") end