class RubyProf::FlameGraphPrinter
def print(output = STDOUT, title: "ruby-prof flame graph",
Also accepts min_percent:, max_percent:, filter_by:, and sort_method:
title of the report.
title: - a String to override the default "ruby-prof flame graph"
Keyword arguments:
output - Any IO object, including STDOUT or a file.
Specify print options.
def print(output = STDOUT, title: "ruby-prof flame graph", min_percent: 0, max_percent: 100, filter_by: :self_time, sort_method: nil, **) @min_percent = min_percent @max_percent = max_percent @filter_by = filter_by @sort_method = sort_method @title = title output << ERB.new(self.template).result(binding) end