# File lib/ruby-prof/rack.rb, line 19 def call(env) request = Rack::Request.new(env) if @skip_paths.any? {|skip_path| skip_path =~ request.path} @app.call(env) else result = nil data = ::RubyProf::Profile.profile do result = @app.call(env) end path = request.path.gsub('/', '-') path.slice!(0) print(data, path) result end end