class Mil::RackApm::Web
Constants
- TR_CSS
Public Instance Methods
data()
click to toggle source
# File lib/mil/rack_apm/web.rb, line 32 def data @data ||= Mil::RackApm::WebData.new end
path_prefix()
click to toggle source
# File lib/mil/rack_apm/web.rb, line 28 def path_prefix request.env['SCRIPT_NAME'] end
tr_css(type)
click to toggle source
# File lib/mil/rack_apm/web.rb, line 37 def tr_css(type) TR_CSS[type.upcase] end
url_path(*path_parts)
click to toggle source
# File lib/mil/rack_apm/web.rb, line 23 def url_path(*path_parts) [ path_prefix, path_parts ].join("/").squeeze('/') end