%i[request response headers meta].freeze
%i[inc_model add_query add_job add_cache add_log].freeze
50 51 52 53 54 55 56 57
# File 'lib/debugbar.rb', line 50 def msg(msg, extra, source) if Current.request.nil? puts "The current request is not set yet. Printing to STDOUT instead." puts msg, extra, source else Current.request.add_msg(msg, extra, source) end end