Module: EacRubyUtils::Envs::BaseCommand::ExtraOptions
- Defined in:
- lib/eac_ruby_utils/envs/base_command/extra_options.rb
Instance Method Summary collapse
- #extra_options ⇒ ActiveSupport::HashWithIndifferentAccess
- #status_result(status_code, result) ⇒ Object
Instance Method Details
#extra_options ⇒ ActiveSupport::HashWithIndifferentAccess
12 13 14 |
# File 'lib/eac_ruby_utils/envs/base_command/extra_options.rb', line 12 def @extra_options ||= {}.with_indifferent_access end |
#status_result(status_code, result) ⇒ Object
16 17 18 |
# File 'lib/eac_ruby_utils/envs/base_command/extra_options.rb', line 16 def status_result(status_code, result) (status_results: status_results.merge(status_code => result)) end |