Sha256: 0ef0b5de9a1191faff44f1862b1d90158e9661dfd3b8cf77d10f56a7967e3339
Contents?: true
Size: 319 Bytes
Versions: 6
Compression:
Stored size: 319 Bytes
Contents
module RRImm class Pipe < Publisher def initialize(command) super() @command = command end attr_reader :command def publish(input, *args) cmd = Mixlib::ShellOut.new(command, input: input) cmd.run_command puts cmd.stderr if cmd.error? cmd.error! end end end
Version data entries
6 entries across 6 versions & 1 rubygems