class EacRubyUtils::Envs::CompositeCommand
def bash_command
-
(String)-
def bash_command ['set', '-euo', 'pipefail', OPERATOR_BEFORE, left_command_line, operator, right_command_line].join(' ') end
def command_line_without_env(_options = {})
-
(String)-
def command_line_without_env(_options = {}) ::Shellwords.join(['bash', '-c', bash_command]) end
def left_command_line
def left_command_line left_command.command_line_without_env end
def right_command_line
def right_command_line if right_command.env == left_command.env right_command.command_line_without_env else right_command.command end end