Module: EacRubyUtils::Envs::Command::ExtraOptions

Included in:
EacRubyUtils::Envs::Command
Defined in:
lib/eac_ruby_utils/envs/command/extra_options.rb

Instance Method Summary collapse

Instance Method Details

#chdir(dir) ⇒ Object



10
11
12
# File 'lib/eac_ruby_utils/envs/command/extra_options.rb', line 10

def chdir(dir)
  duplicate_by_extra_options(chdir: dir)
end

#envvar(name, value) ⇒ Object



14
15
16
# File 'lib/eac_ruby_utils/envs/command/extra_options.rb', line 14

def envvar(name, value)
  duplicate_by_extra_options(envvars: envvars.merge(name => value))
end

#pipe(other_command) ⇒ Object



18
19
20
# File 'lib/eac_ruby_utils/envs/command/extra_options.rb', line 18

def pipe(other_command)
  duplicate_by_extra_options(pipe: other_command)
end