Class: KongSchema::Reporter::YAMLPrettyPrinter
- Inherits:
-
Object
- Object
- KongSchema::Reporter::YAMLPrettyPrinter
- Defined in:
- lib/kong_schema/reporter.rb
Overview
Print objects as YAML
Class Method Summary collapse
Class Method Details
.print(object) ⇒ Object
49 50 51 |
# File 'lib/kong_schema/reporter.rb', line 49 def self.print(object) YAML.dump(object) end |