Class: Spoom::ExecResult
- Inherits:
-
T::Struct
- Object
- T::Struct
- Spoom::ExecResult
- Defined in:
- lib/spoom/context/exec.rb
Instance Method Summary collapse
-
#to_s ⇒ Object
: -> String.
Instance Method Details
#to_s ⇒ Object
: -> String
12 13 14 15 16 17 18 19 20 |
# File 'lib/spoom/context/exec.rb', line 12 def to_s " ########## STDOUT ##########\n \#{out.empty? ? \"<empty>\" : out}\n ########## STDERR ##########\n \#{err&.empty? ? \"<empty>\" : err}\n ########## STATUS: \#{status} ##########\n STR\nend\n" |