Sha256: 321a5e020ce138b12225a3cea94204ffd5d8442228d31507c0442b97970944a1
Contents?: true
Size: 372 Bytes
Versions: 10
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true module CodeKindly module Utils class Shell include Deprecation class << self def run(command) deprecate :'Shell.run', :'Command.run', :'0.1.0' require 'open3' command = command.join(' ') if command.is_a?(Array) Open3.capture3 command end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems