Sha256: beca4476daa296e5b0bbd675da03bf1514e5759a84eb003626af72d885d73b81
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
require "irb" module IRB module Command class Sys < Base category "Misc" description 'Run a system command' class << self def transform_args(args) if args.empty? || string_literal?(args) args else args.strip.dump end end end def execute(*args) system(*args) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
irbtools-4.0.8 | lib/irbtools/commands/sys.rb |