Class: Mixlib::ShellOut

Inherits:
Object show all
Defined in:
lib/bixby-client/patch/shellout.rb

Instance Method Summary collapse

Instance Method Details

#fail?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/bixby-client/patch/shellout.rb', line 11

def fail?
  ! success?
end

#success?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/bixby-client/patch/shellout.rb', line 7

def success?
  exitstatus == 0
end