class Lrun::Result
Result
of {Lrun.run}.
Public Instance Methods
clean?()
click to toggle source
@return [Boolean] whether the program exited without crash and has a zero exit code
# File lib/lrun.rb, line 109 def clean? exitcode.to_i == 0 && !crashed? end
crashed?()
click to toggle source
@return [Boolean] whether the program crashed (exited by signal)
# File lib/lrun.rb, line 114 def crashed? !signal.nil? end