Sha256: 17def943d1ff3fda74eef08f5204b5800ecce8f9123b000dced127b2ab909ef3
Contents?: true
Size: 620 Bytes
Versions: 20
Compression:
Stored size: 620 Bytes
Contents
# frozen_string_literal: true require 'json' require 'bolt/result' module Bolt class Node class Output attr_reader :stderr, :stdout, :merged_output attr_accessor :exit_code def initialize @stdout = StringIO.new @stderr = StringIO.new @merged_output = StringIO.new @exit_code = 'unknown' end def to_h { 'stdout' => @stdout.string, 'stderr' => @stderr.string, 'merged_output' => @merged_output.string, 'exit_code' => @exit_code } end end end end
Version data entries
20 entries across 20 versions & 1 rubygems