Class: Burner::Library::Serialize::Yaml
- Inherits:
-
JobWithRegister
- Object
- Job
- JobWithRegister
- Burner::Library::Serialize::Yaml
- Defined in:
- lib/burner/library/serialize/yaml.rb
Overview
Instance Attribute Summary
Attributes inherited from JobWithRegister
Attributes inherited from Job
Instance Method Summary collapse
Methods inherited from JobWithRegister
Methods inherited from Job
Methods included from Util::Arrayable
Constructor Details
This class inherits a constructor from Burner::JobWithRegister
Instance Method Details
#perform(_output, payload) ⇒ Object
18 19 20 |
# File 'lib/burner/library/serialize/yaml.rb', line 18 def perform(_output, payload) payload[register] = payload[register].to_yaml end |