Class: Autotuner::Report::SingleEnvironmentVariable

Inherits:
Base
  • Object
show all
Defined in:
lib/autotuner/report/single_environment_variable.rb

Constant Summary

Constants inherited from Base

Base::DISCLAIMER_MESSAGE

Instance Attribute Summary collapse

Attributes inherited from Base

#assist_message

Instance Method Summary collapse

Methods inherited from Base

#to_s

Constructor Details

#initialize(assist_message, env_name, suggested_value, configured_value) ⇒ SingleEnvironmentVariable

Returns a new instance of SingleEnvironmentVariable.



10
11
12
13
14
15
16
# File 'lib/autotuner/report/single_environment_variable.rb', line 10

def initialize(assist_message, env_name, suggested_value, configured_value)
  super(assist_message)

  @env_name = env_name
  @suggested_value = suggested_value
  @configured_value = configured_value
end

Instance Attribute Details

#configured_valueObject (readonly)

Returns the value of attribute configured_value.



8
9
10
# File 'lib/autotuner/report/single_environment_variable.rb', line 8

def configured_value
  @configured_value
end

#env_nameObject (readonly)

Returns the value of attribute env_name.



6
7
8
# File 'lib/autotuner/report/single_environment_variable.rb', line 6

def env_name
  @env_name
end

#suggested_valueObject (readonly)

Returns the value of attribute suggested_value.



7
8
9
# File 'lib/autotuner/report/single_environment_variable.rb', line 7

def suggested_value
  @suggested_value
end