Module: IronWorkerNG::Feature::Common::SetEnv::InstanceMethods

Included in:
Code::Base
Defined in:
lib/iron_worker_ng/feature/common/set_env.rb

Instance Method Summary collapse

Instance Method Details

#set_env(key, value) ⇒ Object



30
31
32
33
34
# File 'lib/iron_worker_ng/feature/common/set_env.rb', line 30

def set_env(key, value)
  IronCore::Logger.info 'IronWorkerNG', "Setting ENV variable with name='#{key}' and value='#{value}'"

  @features << IronWorkerNG::Feature::Common::SetEnv::Feature.new(self, key, value)
end