class Burner::Library::Serialize::Yaml

Treat value like a Ruby object and serialize it using YAML.

Expected Payload input: anything. Payload output: string representing the output of the YAML serializer.

Public Instance Methods

perform(_output, payload) click to toggle source
# File lib/burner/library/serialize/yaml.rb, line 18
def perform(_output, payload)
  payload[register] = payload[register].to_yaml
end