Class: Ollama::Handlers::DumpYAML

Inherits:
Object
  • Object
show all
Includes:
Concern
Defined in:
lib/ollama/handlers/dump_yaml.rb

Instance Attribute Summary

Attributes included from Concern

#output, #result

Instance Method Summary collapse

Methods included from Concern

#initialize, #to_proc

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