Class: Spoom::ExecResult

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/spoom/context/exec.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



14
15
16
17
18
19
20
21
22
# File 'lib/spoom/context/exec.rb', line 14

def to_s
  "    ########## STDOUT ##########\n    \#{out.empty? ? \"<empty>\" : out}\n    ########## STDERR ##########\n    \#{err&.empty? ? \"<empty>\" : err}\n    ########## STATUS: \#{status} ##########\n  STR\nend\n"