Sha256: 8bb67388643d10a4ad24902b5b3c7f4426623dc52d22164d5eaf4e7874239b99
Contents?: true
Size: 295 Bytes
Versions: 6
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true require "open3" module KeepUp # Encapsulate knowledge of running external commands module Runner module_function def run(command) stdout, = run2 command stdout end def run2(command) Open3.capture2 command end end end
Version data entries
6 entries across 6 versions & 1 rubygems