Class: Spoom::ExecResult

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

Instance Method Summary collapse

Instance Method Details

#to_sObject



23
24
25
26
27
28
29
30
31
# File 'lib/spoom.rb', line 23

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