spec/support/corpus.rb
def system(arguments)
        return if Kernel.system(*arguments)

        if block_given?
          yield
        else
          raise "System command failed!: #{arguments.join(' ')}"
        end
      end
# Helper method to execute system commands
#
# @param [Array<String>] arguments
#
Helper method to execute system commands
Helper method to execute system commands
def system(arguments)
        return if Kernel.system(*arguments)
        if block_given?
          yield
        else
          raise "System command failed!: #{arguments.join(' ')}"
        end
      end
def system ( arguments ) return if Kernel . system ( * arguments ) if block_given? yield else raise "System command failed!: #{arguments.join(' ')}" end end
Helper method to execute system commands
Helper method to execute system commands
arguments
None