Class: SimpleParameterStore::Mock::Parameter
- Inherits:
-
Object
- Object
- SimpleParameterStore::Mock::Parameter
- Defined in:
- lib/simple_parameter_store/mock.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ Parameter
constructor
A new instance of Parameter.
Constructor Details
#initialize(name, value) ⇒ Parameter
Returns a new instance of Parameter.
9 10 11 12 |
# File 'lib/simple_parameter_store/mock.rb', line 9 def initialize(name, value) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/simple_parameter_store/mock.rb', line 8 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/simple_parameter_store/mock.rb', line 8 def value @value end |