Sha256: f0aa7c7c7cbb969ee3415ca6366f7a7a625734d21ff8767af3d5575913a86c8d
Contents?: true
Size: 423 Bytes
Versions: 7
Compression:
Stored size: 423 Bytes
Contents
# frozen_string_literal: true module Nocode module Steps module Serialize # Take the contents of a register and serialize it as JSON. The serialized JSON # will override the register specified. class Json < Step option :register def perform input = registers[register_option] registers[register_option] = input.to_json end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems