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.



164
165
166
# File 'lib/mixlib/shellout/windows.rb', line 164

def exitstatus
  @exitstatus
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


165
166
167
# File 'lib/mixlib/shellout/windows.rb', line 165

def success?
  exitstatus == 0
end