Class: Beaker::NullResult
Instance Attribute Summary
Attributes inherited from Result
#cmd, #exit_code, #host, #output, #raw_output, #raw_stderr, #raw_stdout, #stderr, #stdout
Instance Method Summary collapse
-
#initialize(host, cmd) ⇒ NullResult
constructor
A new instance of NullResult.
Methods inherited from Result
#convert, #exit_code_in?, #finalize!, #formatted_output, #log, #normalize_line_endings, #success?
Constructor Details
#initialize(host, cmd) ⇒ NullResult
Returns a new instance of NullResult.
58 59 60 61 |
# File 'lib/beaker/result.rb', line 58 def initialize(host, cmd) super(host, cmd) @exit_code = 0 end |