Method: Beaker::Result#initialize

Defined in:
lib/beaker/result.rb

#initialize(host, cmd) ⇒ Result

Returns a new instance of Result.



5
6
7
8
9
10
11
12
# File 'lib/beaker/result.rb', line 5

def initialize(host, cmd)
  @host       = host
  @cmd        = cmd
  @stdout     = ''
  @stderr     = ''
  @output     = ''
  @exit_code  = nil
end