class Nocode::Steps::Serialize::Yaml

Take the contents of a register and serialize it as YAML. The serialized YAML will override the register specified.

Public Instance Methods

perform() click to toggle source
# File lib/nocode/steps/serialize/yaml.rb, line 11
def perform
  input = registers[register_option]

  registers[register_option] = input.to_yaml
end