Sha256: a9e0a4f094b8f855e46334d5f458ff7908fc5fbb7c11ed6e46747c2c12b463b6
Contents?: true
Size: 665 Bytes
Versions: 4
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true require 'system_call/version' ## # A simple wrapper around Ruby's Open3 to call CLI programs and process their # output. module SystemCall autoload :Command, 'system_call/command' autoload :Result, 'system_call/result' ## # Initializes and calls a {Command}, then returns the {Result}. # # @param args [Array] The command line arguments. # @return [Result] def self.call(*args) Command.call(*args) end ## # Initializes and calls a {Command}, then returns the {Result}. # # @param args [Array] The command line arguments. # @return [Result] def system_call(*args) Command.call(*args) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
systemcall-1.0.3 | lib/system_call.rb |
systemcall-1.0.2 | lib/system_call.rb |
systemcall-1.0.1 | lib/system_call.rb |
systemcall-1.0.0 | lib/system_call.rb |