Sha256: 902326e3f2d3f39e06a2dd2b41b9d2ff6e036629d825e5079e274c5f387bdaf6
Contents?: true
Size: 426 Bytes
Versions: 16
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true require 'yaml' module Ad module AgentArchitecture module Dsl module Actions # Save workflow graph to YAML file class SaveYaml def initialize(workflow_hash) @workflow_hash = workflow_hash end def save(file_name) File.write(file_name, @workflow_hash.to_yaml) end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems