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

Defined in:
lib/eac_ruby_utils/envs/command/extra_options.rb

Instance Method Summary collapse

Instance Method Details

#chdir(dir) ⇒ Object


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

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

#status_result(status_code, result) ⇒ Object


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

def status_result(status_code, result)
  duplicate_by_extra_options(status_results: status_results.merge(status_code => result))
end