Class: SkillBench::Services::JsonFormatter
- Inherits:
-
Object
- Object
- SkillBench::Services::JsonFormatter
- Defined in:
- lib/skill_bench/services/json_formatter.rb
Overview
Formats evaluation results as JSON.
Class Method Summary collapse
-
.format(result) ⇒ String
Format result as JSON.
Class Method Details
.format(result) ⇒ String
Format result as JSON.
13 14 15 |
# File 'lib/skill_bench/services/json_formatter.rb', line 13 def self.format(result) JSON.pretty_generate(result) end |