Class: Mixlib::ShellOut::Windows::ThingThatLooksSortOfLikeAProcessStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/mixlib/shellout/windows.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exitstatusObject

Returns the value of attribute exitstatus.



170
171
172
# File 'lib/mixlib/shellout/windows.rb', line 170

def exitstatus
  @exitstatus
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


171
172
173
# File 'lib/mixlib/shellout/windows.rb', line 171

def success?
  exitstatus == 0
end