class Loom::Shell::CmdPipeline
Public Class Methods
new(piped_cmds)
click to toggle source
# File lib/loom/shell/cmd_wrapper.rb, line 149 def initialize(piped_cmds) @piped_cmds = piped_cmds end
Public Instance Methods
to_s()
click to toggle source
# File lib/loom/shell/cmd_wrapper.rb, line 153 def to_s @piped_cmds.map do |cmd| if cmd.respond_to? :escape_cmd cmd.escape_cmd else cmd end end.join " | " end