Class: Evilution::Reporter::CLI::LineFormatters::PeakMemory Private
- Inherits:
-
Object
- Object
- Evilution::Reporter::CLI::LineFormatters::PeakMemory
- Defined in:
- lib/evilution/reporter/cli/line_formatters/peak_memory.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #format(summary) ⇒ Object private
Instance Method Details
#format(summary) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 9 10 11 |
# File 'lib/evilution/reporter/cli/line_formatters/peak_memory.rb', line 6 def format(summary) peak = summary.peak_memory_mb return nil unless peak Kernel.format("Peak memory: %<mb>.1f MB", mb: peak) end |