method

rendering_runtime

rails latest stable - Class: ActionController::Benchmarking

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

rendering_runtime(runtime)
private

No documentation available.

# File actionpack/lib/action_controller/benchmarking.rb, line 81
      def rendering_runtime(runtime)
        percentage = @rendering_runtime * 100 / runtime
        " | Rendering: %.5f (%d%%)" % [@rendering_runtime, percentage.to_i]
      end