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

Constructor Details

#initialize(host, cmd) ⇒ NullResult

Returns a new instance of NullResult



53
54
55
56
# File 'lib/beaker/result.rb', line 53

def initialize(host, cmd)
  super(host, cmd)
  @exit_code = 0
end