Class: Ollama::Handlers::DumpYAML
- Inherits:
-
Object
- Object
- Ollama::Handlers::DumpYAML
- Includes:
- Concern
- Defined in:
- lib/ollama/handlers/dump_yaml.rb
Instance Attribute Summary
Attributes included from Concern
Instance Method Summary collapse
Methods included from Concern
Instance Method Details
#call(response) ⇒ Object
4 5 6 7 |
# File 'lib/ollama/handlers/dump_yaml.rb', line 4 def call(response) @output.puts Psych.dump(response) self end |