module EacRubyUtils::Envs::BaseCommand::Concat

def and(other_command)

Returns:
  • (EacRubyUtils::Envs::Command) -
def and(other_command)
  concat(AND_OPERATOR, other_command)
end

def before(other_command)

Returns:
  • (EacRubyUtils::Envs::Command) -
def before(other_command)
  concat(BEFORE_OPERATOR, other_command)
end

def concat(operator, other_command)

Returns:
  • (EacRubyUtils::Envs::CompositeCommand) -

Parameters:
  • operator (Symbol) --
def concat(operator, other_command)
  require 'eac_ruby_utils/envs/composite_command'
  ::EacRubyUtils::Envs::CompositeCommand.new(operator, self, other_command)
end

def or(other_command)

def or(other_command)
  concat(OR_OPERATOR, other_command)
end

def pipe(other_command)

def pipe(other_command)
  concat(PIPE_OPERATOR, other_command)
end