Class: Beaker::NullResult

Inherits:
Result
  • Object
show all
Defined in:
lib/beaker/result.rb

Instance Attribute Summary

Attributes inherited from Result

#cmd, #exit_code, #host, #output, #raw_output, #raw_stderr, #raw_stdout, #stderr, #stdout

Instance Method Summary collapse

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