Sha256: 495c4fe01324d820c86935deeef7ed0f279136d836fa97dceed3e7bcf8351816
Contents?: true
Size: 371 Bytes
Versions: 9
Compression:
Stored size: 371 Bytes
Contents
# frozen_string_literal: true class Riddle::CommandResult attr_reader :command, :status, :output attr_accessor :successful def initialize(command, status, output = nil, successful = nil) @command, @status, @output = command, status, output if successful.nil? @successful = (@status == 0) else @successful = successful end end end
Version data entries
9 entries across 9 versions & 1 rubygems